Created
February 12, 2016 15:30
-
-
Save ch3pjw/a49b45b0506c093abea2 to your computer and use it in GitHub Desktop.
Convox linked container gets no HOST env var
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With the following `docker-compose.yml`: | |
sonar: | |
build: ./sonar | |
environment: | |
- SONAR_DB_URL | |
ports: | |
- 9000 | |
links: | |
- sonar_db | |
sonar_db: | |
image: convox/postgres | |
ports: | |
- 5432 | |
Running `env` in the `sonar` container gives me: | |
SONAR_DB_USERNAME=postgres │ | |
SONAR_DB_SCHEME=postgres │ | |
SONAR_DB_URL=postgres://postgres:password@:5432 │ | |
SONAR_DB_PORT=5432 | |
SONAR_DB_PASSWORD=password | |
SONAR_DB_HOST= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment