Skip to content

Instantly share code, notes, and snippets.

@quinncomendant
Created April 28, 2017 12:53
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 quinncomendant/127dc6995f91b0ef200d57f62a0ced6b to your computer and use it in GitHub Desktop.
Save quinncomendant/127dc6995f91b0ef200d57f62a0ced6b to your computer and use it in GitHub Desktop.
version: '2'
volumes:
dbdata:
driver: local
services:
db:
image: mysql/mysql-server:5.7
ports:
- "3306:3306"
volumes:
- …
environment:
- …
web:
image: php:5.6-apache
ports:
- "80:80"
volumes:
- ~/src/media.sbinstitute.com:/var/www
links:
- db
environment:
- RES_OPTIONS=retrans:1 retry:1 timeout:1 attempts:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment