Skip to content

Instantly share code, notes, and snippets.

@bfillmer
Last active August 1, 2017 17:05
Show Gist options
  • Save bfillmer/32e30aa9fa44b7df47cdd71923667b82 to your computer and use it in GitHub Desktop.
Save bfillmer/32e30aa9fa44b7df47cdd71923667b82 to your computer and use it in GitHub Desktop.
Wordpress & MySQL Orchestration
# Possible MySQL dockerfile
FROM mysql:latest
ENV MYSQL_ROOT_PASSWORD=<password>
EXPOSE 3306
# Possible WordPress dockerfile
FROM wordpress:latest
ENV WORDPRESS_DB_HOST=<host>
ENV WORDPRESS_DB_USER=<user>
ENV WORDPRESS_DB_PASSWORD=<password>
EXPOSE 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment