Created
September 23, 2016 16:20
-
-
Save efiku/b89bd58ae0b1d823b1f8ad05a7cd890b to your computer and use it in GitHub Desktop.
Revisions
-
efiku created this gist
Sep 23, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,41 @@ panel-zsti-mysql: image: mysql:latest container_name: panel-zsti-mysql ports: - "3306:3306" environment: - MYSQL_ROOT_PASSWORD=root - MYSQL_DATABASE=symfony - MYSQL_USER=symfony - MYSQL_PASSWORD=symfony panel-zsti-webserver: image: phpdockerio/nginx:latest container_name: panel-zsti-webserver volumes: - .:/var/www/panel-zsti - ./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf ports: - "80:80" links: - panel-zsti-php-fpm - panel-zsti-redis panel-zsti-php-fpm: build: . dockerfile: ./phpdocker/php-fpm/Dockerfile container_name: panel-zsti-php-fpm volumes: - .:/var/www/panel-zsti - ./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.0/fpm/conf.d/99-overrides.ini links: - panel-zsti-mysql - panel-zsti-redis command: bash -c "/usr/sbin/php-fpm7.0 -F -O 2>&1" panel-zsti-redis: container_name: panel-zsti-redis image: redis ports: - "6379:6379"