Webserver zu Netzwerk webproxy hinzugefügt und Netzwerk backend_grav

This commit is contained in:
bmen 2019-09-16 17:47:23 +02:00
parent d102463668
commit 66439a6b31
1 changed files with 25 additions and 16 deletions

View File

@ -4,21 +4,30 @@
version: "3.1"
services:
networks:
webproxy:
external: true
backend_grav:
webserver:
image: nginx:alpine
container_name: grav-webserver
container_name: grav-cms
working_dir: /application
volumes:
- .:/application
- /opt/appdata/grav:/application
- ./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "8888:80"
- "3001:80"
networks:
- webproxy
- backend_grav
php-fpm:
build: phpdocker/php-fpm
container_name: grav-php-fpm
container_name: grav-cms-php-fpm
working_dir: /application
networks:
- backend_grav
volumes:
- .:/application
- /opt/appdata/grav:/application
- ./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.3/fpm/conf.d/99-overrides.ini