Created
September 19, 2016 18:50
-
-
Save luanpcweb/0cf85fbde4878bb817df2b057fa39f13 to your computer and use it in GitHub Desktop.
Docker-compose blog post 298
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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