Skip to content

Instantly share code, notes, and snippets.

@hailwood
Forked from SharronRobins/docker-compose.yml
Created June 18, 2018 04:51
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 hailwood/29a36baa702f44837186a9719db020fa to your computer and use it in GitHub Desktop.
Save hailwood/29a36baa702f44837186a9719db020fa to your computer and use it in GitHub Desktop.
Help please yaml
version: '3'
services:
web:
image: brettt89/silverstripe-web
working_dir: /var/www
ports:
- 8080:80
volumes:
- .:/var/www/html
database:
image: mysql
volumes:
- db-data:/var/lib/mysql
restart: always
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=true
volumes:
db-data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment