Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker container not reading haproxy template path #244

Open
dharm187 opened this issue Oct 23, 2017 · 1 comment
Open

Docker container not reading haproxy template path #244

dharm187 opened this issue Oct 23, 2017 · 1 comment

Comments

@dharm187
Copy link

Hello,

I have started Bamboo as a Docker Container. After starting everything goes fine. But when i tries to pass my custom haproxy template path, It is not reading it. I used below command to start it:

docker run -t -i --rm -p 8000:8000 -p 80:80
-e MARATHON_ENDPOINT=http://1.1.5.3:8080,http://1.1.5.5:8080
-e MARATHON_USER=xxxxxxxxxx
-e MARATHON_PASSWORD=xxxxxxxxx
-e BAMBOO_ENDPOINT=xxxxxxxxxxx
-e BAMBOO_ZK_HOST=xxxxxxxxxxxxxx
-e BAMBOO_ZK_PATH=/bamboo
-e BIND=":8000"
-e HAPROXY_TEMPLATE_PATH="/opt/bamboo/haproxy_template.cfg"
-e CONFIG_PATH="config/production.example.json"
-e BAMBOO_DOCKER_AUTO_HOST=true
bamboo

It is giving error as below:
Failed to update HAProxy configuration: open /opt/bamboo/haproxy_template.cfg: no such file or directory

Where I am going wrong?

Thanks

@j1n6
Copy link
Contributor

j1n6 commented Oct 23, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants