Comments (5)
CONFIG_PATH
should be a path inside the container. If you want to inject an external config, just mount the volume and set your CONFIG_PATH
to the config inside the mount.
Like so:
docker run -t -i --rm -p 8000:8000 -p 80:80 \
-v `pwd`/config:/myconfig
-e MARATHON_ENDPOINT=http://xxx.xxx.xxx.xxx:8080 \
-e BAMBOO_ENDPOINT=http://xxx.xxx.xxx.xxx:8000 \
-e BAMBOO_ZK_HOST=xxx.xxx.xxx.xxx:2181 \
-e BAMBOO_ZK_PATH=/bamboo \
-e BIND=":8000" \
-e CONFIG_PATH="/myconfig/bamboo_test.json" \
-e BAMBOO_DOCKER_AUTO_HOST=true \
bamboo
from bamboo.
Great. That did the trick. So if I have the custom config in place prior to building the container, would I no longer need to mount the external volume?
Thanks for the help.
from bamboo.
Correct, so long as the file can be referenced from within the container, you're set
from bamboo.
Perfect.
Thanks again for the help and quick response.
from bamboo.
@mbabineau Thanks for helping out support questions.
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.