Last active
November 6, 2017 12:14
-
-
Save msfidelis/a6d7536eb7828b7d3c31fc8f0f506715 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
version: '2' | |
services: | |
fpm: | |
build: PHP7fpm | |
volumes: | |
- ./app:/var/www/html | |
ports: | |
- "9000:9000" | |
links: | |
- mysql | |
nginx: | |
build: Nginx | |
volumes: | |
- ./server/nginx.conf:/etc/nginx/nginx.conf | |
- ./server/app.vhost:/etc/nginx/conf.d/app.vhost | |
- ./Logs/Nginx:/var/log/nginx | |
ports: | |
- "80:80" | |
- "443:443" | |
links: | |
- fpm | |
mysql: | |
image: mysql:5.7 | |
restart: always | |
ports: | |
- "3306:3306" | |
environment: | |
- MYSQL_ROOT_PASSWORD=root | |
- MYSQL_DATABASE=minhaapi | |
volumes: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mysql
volumes: