Created
January 25, 2017 15:46
-
-
Save beatwade/a41c675f3527b3b6c5069fc4166daaf6 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
php: | |
image: php:7.1.1-fpm | |
volumes: | |
- ./code:/code | |
links: | |
- mysql | |
composer: | |
image: composer/composer:php7 | |
volumes: | |
- ./code/blog:/app | |
mysql: | |
image: mysql:8.0.0 | |
volumes: | |
- ./datadir:/var/lib/mysql | |
command: mysqld --innodb-buffer-pool-size=20M | |
environment: | |
- "MYSQL_DATABASE=docker_laravel" | |
- "MYSQL_USER=beatwade" | |
- "MYSQL_PASSWORD=1989530" | |
- "MYSQL_ROOT_PASSWORD=1989530" | |
ports: | |
- "3307:3306" | |
openstry: | |
image: openresty/openresty:trusty | |
ports: | |
- "81:80" | |
volumes: | |
- ./code:/code | |
- ./site.conf:/usr/local/openresty/nginx/conf/nginx.conf | |
links: | |
- php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment