Skip to content

Instantly share code, notes, and snippets.

@celsocelante
Created January 4, 2017 21:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save celsocelante/efe95ffab95281e3f63c6f23fb07097c to your computer and use it in GitHub Desktop.
Save celsocelante/efe95ffab95281e3f63c6f23fb07097c to your computer and use it in GitHub Desktop.
web:
image: tutum/apache-php
environment:
- ALLOW_OVERRIDE=true
ports:
- "80:80"
links:
- db
volumes:
- ./app:/app
db:
image: mariadb
restart: always
volumes:
- ./mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: admin
MYSQL_PASSWORD: test
MYSQL_DATABASE: database
ports:
- "8889:3306"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment