Skip to content

Instantly share code, notes, and snippets.

@jeffersonsouza
Created October 24, 2015 15:37
Show Gist options
  • Select an option

  • Save jeffersonsouza/59bcb67c4aee0bf91eae to your computer and use it in GitHub Desktop.

Select an option

Save jeffersonsouza/59bcb67c4aee0bf91eae to your computer and use it in GitHub Desktop.
wordpress:
image: wordpress
links:
- db:mysql
ports:
- 12301:80
db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: secret
nginx:
image: nginx
links:
- wordpress:wordpress
ports:
- 80:80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment