Comments (13)
I found one of the example:
https://github.com/CenturyLinkLabs/ctlc-docker-haproxy
I have two requests here:
- possibly moving docker related configs into
build
directory, this keeps the project root clean - create a PR instead of issues, this helps me to check out your commit for quick test run and review
Thanks!
from bamboo.
Sure can do.
I can add another endpoint to run haproxy, but after that there would be two instances of haproxy running in that container, isn't it?
from bamboo.
Did you mean builder directory by build dir?
from bamboo.
Would it help if stop the existing haproxy (service haproxy stop) after installation and managing it via supervisord?
from bamboo.
yup, my bad. it's the builder
directory.
from bamboo.
That could work, how can I do it?
search for running instance of haproxy and kill it, after start new instance.
Wouldn't then bamboo rerun haproxy once it restarts after failure?
Cool would be having switch to disable starting of haproxy from bamboo. What do you think?
from bamboo.
I think it's misunderstanding - bamboo only manages existing haproxy processes. In other words, it expects HAProxy is already running.
from bamboo.
reload command looks at the HAProxy PID:
https://github.com/QubitProducts/bamboo/blob/master/config/production.example.json#L18
from bamboo.
but if I run docker container, haproxy is running.
I feel dumb, but where do you trigger haproxy?
from bamboo.
This is my assumption - correct me if i'm wrong.
- the Dockerfile installs Haproxy, and it comes with a upstart
- in Dockerfile, you can specifically stop the running haproxy process by running command
service haproxy stop
after installation - now, we ask supervisor managing HAProxy & bamboo process for us by specifiying multiple [program:x] doc here
Maybe I'm not aware of other side effect issues?
from bamboo.
I don't think this is the way docker works. it should trigger only binary that is specified in CMD directive or on cli docker run.
But obviously it runs so there's someting I miss...
I will look into it tomorrow.
Thanks for support btw.
from bamboo.
@activars did you see update in #50 ??
from bamboo.
Closed because @veverjak PR has been merged.
from bamboo.
Related Issues (20)
- Support Ip per container HOT 2
- How to support the dynamic ip and port for web container by bamboo HOT 2
- Docker images not building deb packages HOT 3
- Getting 503 when restarting application HOT 5
- Event streaming API messages not handled correctly
- The latest version of mesos and marathon are supported ? HOT 2
- Mesos/Marathon integration test Container
- Document httpclose HOT 1
- 8125 port write: connection refused HOT 2
- Failed to update HAProxy configuration HOT 1
- how can i access my app
- How about metrics? HOT 2
- Enable support for marathon task_killing state HOT 2
- Support systemd in deb package HOT 1
- Question: Per-service HAProxy templates HOT 1
- Event subscription broken when using Marathon version >=1.5.0 HOT 3
- ACL for similar service
- Does Bamboo support zookeeper authentication? HOT 5
- Docker container not reading haproxy template path HOT 1
- Should use portDefinitions instead of servicePorts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bamboo.