Last active
January 14, 2022 12:53
-
-
Save wilcorrea/7b9e968ec35d239809b742b4efba431e to your computer and use it in GitHub Desktop.
Revisions
-
wilcorrea revised this gist
Jan 14, 2022 . 1 changed file with 1 addition and 1 deletion.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 @@ -20,7 +20,7 @@ services: # Nginx sandbox-nginx: image: webdevops/php-nginx-dev:8.0 container_name: sandbox-nginx networks: - internal -
wilcorrea revised this gist
Jan 14, 2022 . 1 changed file with 0 additions and 14 deletions.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 @@ -79,17 +79,3 @@ services: - sandbox-redis_data:/data ports: - 6379:6379 -
wilcorrea revised this gist
Jan 14, 2022 . 1 changed file with 1 addition and 3 deletions.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 @@ -27,8 +27,6 @@ services: working_dir: /var/www/app volumes: - .:/var/www/app depends_on: - sandbox-mysql - sandbox-redis @@ -40,7 +38,7 @@ services: - PHP_POST_MAX_SIZE=500M - PHP_UPLOAD_MAX_FILESIZE=500M - PHP_DEBUGGER="xdebug" # - PHP_IDE_CONFIG=serverName=_ - XDEBUG_REMOTE_AUTOSTART=On - XDEBUG_REMOTE_CONNECT_BACK=Off - XDEBUG_REMOTE_HOST=host.docker.internal -
wilcorrea created this gist
Aug 2, 2020 .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,97 @@ version: '3' # Networks networks: # Internal network internal: driver: bridge # Volumes volumes: # MySQL volume sandbox-mysql_data: driver: local # Redis volume sandbox-redis_data: driver: local # Services services: # Nginx sandbox-nginx: image: webdevops/php-nginx-dev:7.4 container_name: sandbox-nginx networks: - internal working_dir: /var/www/app volumes: - .:/var/www/app - .docker/sandbox-nginx/opt/docker/etc/nginx/vhost.common.d/cache.conf:/opt/docker/etc/nginx/vhost.common.d/cache.conf # - .docker/sandbox-nginx/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini depends_on: - sandbox-mysql - sandbox-redis environment: - WEB_DOCUMENT_ROOT=/var/www/app/public - PHP_DISPLAY_ERRORS=0 - PHP_MEMORY_LIMIT=2048M - PHP_MAX_EXECUTION_TIME=300 - PHP_POST_MAX_SIZE=500M - PHP_UPLOAD_MAX_FILESIZE=500M - PHP_DEBUGGER="xdebug" # - PHP_IDE_CONFIG="serverName=_" - XDEBUG_REMOTE_AUTOSTART=On - XDEBUG_REMOTE_CONNECT_BACK=Off - XDEBUG_REMOTE_HOST=host.docker.internal - XDEBUG_REMOTE_PORT=9090 - XDEBUG_PROFILER_ENABLE=Off - PHP_DATE_TIMEZONE=UTC expose: - 9090 ports: - 8080:80 # MySQL sandbox-mysql: image: mysql:5.7 container_name: sandbox-mysql networks: - internal working_dir: /var/www/app volumes: - sandbox-mysql_data:/var/lib/mysql - .:/var/www/app environment: - MYSQL_ROOT_PASSWORD=root - MYSQL_DATABASE=database - MYSQL_USER=user - MYSQL_PASSWORD=password ports: - 3306:3306 # Redis sandbox-redis: image: redis:4.0 container_name: sandbox-redis command: --appendonly yes networks: - internal volumes: - sandbox-redis_data:/data ports: - 6379:6379 # Queue SupervisorD sandbox-queue: image: webdevops/php-nginx:7.4 container_name: sandbox-queue working_dir: /var/www/app networks: - internal volumes: - .:/var/www/app - .docker/sandbox-queue/opt/docker/etc/supervisor.d/php-fpm.conf:/opt/docker/etc/supervisor.d/php-fpm.conf depends_on: - sandbox-mysql - sandbox-redis