Created
December 5, 2016 13:34
-
-
Save hevertonfreitas/bd1856817d9ceb28106323de45fd94bb 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
nginx: | |
image: nginx | |
ports: | |
- "80:80" | |
links: | |
- phpfpm | |
volumes: | |
- ./public:/usr/share/nginx/html | |
- ./nginx/default:/etc/nginx/conf.d/default.conf | |
- ./logs/nginx-error.log:/var/log/nginx/error.log | |
- ./logs/nginx-access.log:/var/log/nginx/access.log | |
phpfpm: | |
image: php:fpm | |
ports: | |
- "9000:9000" | |
links: | |
- mysql | |
volumes: | |
- ./public:/usr/share/nginx/html | |
mysql: | |
image: mysql | |
environment: | |
MYSQL_ROOT_PASSWORD: admin | |
phpmyadmin: | |
image: phpmyadmin/phpmyadmin | |
restart: always | |
links: | |
- mysql | |
ports: | |
- 8183:80 | |
environment: | |
MYSQL_USERNAME: admin | |
MYSQL_ROOT_PASSWORD: admin | |
PMA_ARBITRARY: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment