You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run the docker-compose file, I get an error. The error I get states, "mapping key "environment" already defined".
Steps To Reproduce
Steps to reproduce the behavior:
Enter hab studio hab studio enter
Build the application hab build webapp and hab build haproxy
Export them docker hab pkg export container results/<webapp_hart_file> and hab pkg export container results/<haproxy_hart_file>
Confirm the docker images are built docker images | grep ${HAB_ORIGIN}
Run the docker-compose file as shown below
$ docker-compose -p habquickstart up -d
parsing /path/to/hab-two-tier/docker-compose.yml: yaml: unmarshal errors:
line 7: mapping key "environment" already defined at line 4
line 13: mapping key "environment" already defined at line 10
line 22: mapping key "environment" already defined at line 19
🚓 Expected behavior
I expect docker-compose to spin up the application without errors.
👻 Brief Description
When trying to run the docker-compose file, I get an error. The error I get states, "mapping key "environment" already defined".
Steps To Reproduce
Steps to reproduce the behavior:
hab studio enter
hab build webapp
andhab build haproxy
hab pkg export container results/<webapp_hart_file>
andhab pkg export container results/<haproxy_hart_file>
docker images | grep ${HAB_ORIGIN}
🚓 Expected behavior
I expect docker-compose to spin up the application without errors.
➕ Additional context
#16
Versions running
The text was updated successfully, but these errors were encountered: