Skip to content

Instantly share code, notes, and snippets.

@brunokunace
Created June 20, 2017 00:53
Show Gist options
  • Save brunokunace/c7e02346cdebd8d6d41a2b7ffedc3f16 to your computer and use it in GitHub Desktop.
Save brunokunace/c7e02346cdebd8d6d41a2b7ffedc3f16 to your computer and use it in GitHub Desktop.
# 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