Skip to content

Instantly share code, notes, and snippets.

@luanpcweb
Created September 19, 2016 18:50
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 luanpcweb/0cf85fbde4878bb817df2b057fa39f13 to your computer and use it in GitHub Desktop.
Save luanpcweb/0cf85fbde4878bb817df2b057fa39f13 to your computer and use it in GitHub Desktop.
Docker-compose blog post 298
php:
build: .
ports:
- "8080:80"
- "1443:443"
volumes:
- ./www:/var/www/html
links:
- db
db:
image: mysql:5.7
ports:
- "13306:3306"
volumes:
- /var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=bytes
- MYSQL_DATABASE=byteslivres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment