Skip to content

Instantly share code, notes, and snippets.

@stankusl
Created September 27, 2016 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stankusl/84c06901b6e895e58e7d58410ba9663e to your computer and use it in GitHub Desktop.
Save stankusl/84c06901b6e895e58e7d58410ba9663e to your computer and use it in GitHub Desktop.
WP:
image: "centurylink/wordpress:3.9.1"
links:
- "DB:DB_1"
ports:
- "8080:80"
environment:
- "DB_PASSWORD=pass@word01"
- DB_NAME=wordpress
dns:
- 8.8.8.8
- 9.9.9.9
hostname: wordpress
domainname: wordpress.mysite.com
DB:
image: "centurylink/mysql:5.5"
ports:
- "3306:3306"
environment:
- "MYSQL_ROOT_PASSWORD=pass@word01"
mem_limit: "1000000000"
cpu_shares: "40"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment