Skip to content

Adding an example compose version 2 file #532

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

Closed
wants to merge 12 commits into from

Conversation

twitherspoon
Copy link

Environment variables will only be populated if you’re using the legacy version 1 Compose file format. https://docs.docker.com/compose/link-env-deprecated/

You must set additional environment variables to launch the Wordpress docker container in version 2.

Not sure how to add these instructions into the README.md and content.md files. If you provided steps I will add those to the documentation as well.

@tianon
Copy link
Member

tianon commented Mar 31, 2016

Looks like we need to update the wordpress entrypoint to account for this change somehow -- perhaps by defaulting to : ${WORDPRESS_DB_HOST:=mysql} instead of trying to auto-detect, and hope that the later code (or WordPress itself) will capture the failure to specify. 😞

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

Successfully merging this pull request may close these issues.

2 participants