Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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