Created
June 20, 2017 00:53
-
-
Save brunokunace/c7e02346cdebd8d6d41a2b7ffedc3f16 to your computer and use it in GitHub Desktop.
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
# v2 syntax | |
version: '2' | |
services: | |
mysql-NOME: | |
image: ambientum/mysql:5.7 | |
container_name: mysql-NOME | |
volumes: | |
- ./.docker/mysql:/var/lib/mysql | |
ports: | |
- "3390:3306" | |
environment: | |
- MYSQL_ROOT_PASSWORD=NOME | |
- MYSQL_DATABASE=NOME | |
- MYSQL_USER=NOME | |
- MYSQL_PASSWORD=NOME | |
apache-NOME: | |
image: ambientum/php:7.0-apache | |
container_name: apache-NOME | |
volumes: | |
- .:/var/www/app | |
ports: | |
- "8090:8080" | |
links: | |
- mysql-NOME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment