Webserver zu Netzwerk webproxy hinzugefügt und Netzwerk backend_grav
This commit is contained in:
parent
d102463668
commit
66439a6b31
|
@ -4,21 +4,30 @@
|
|||
version: "3.1"
|
||||
services:
|
||||
|
||||
webserver:
|
||||
image: nginx:alpine
|
||||
container_name: grav-webserver
|
||||
working_dir: /application
|
||||
volumes:
|
||||
- .:/application
|
||||
- ./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
ports:
|
||||
- "8888:80"
|
||||
networks:
|
||||
webproxy:
|
||||
external: true
|
||||
backend_grav:
|
||||
|
||||
php-fpm:
|
||||
build: phpdocker/php-fpm
|
||||
container_name: grav-php-fpm
|
||||
working_dir: /application
|
||||
volumes:
|
||||
- .:/application
|
||||
- ./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.3/fpm/conf.d/99-overrides.ini
|
||||
webserver:
|
||||
image: nginx:alpine
|
||||
container_name: grav-cms
|
||||
working_dir: /application
|
||||
volumes:
|
||||
- /opt/appdata/grav:/application
|
||||
- ./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
ports:
|
||||
- "3001:80"
|
||||
networks:
|
||||
- webproxy
|
||||
- backend_grav
|
||||
|
||||
php-fpm:
|
||||
build: phpdocker/php-fpm
|
||||
container_name: grav-cms-php-fpm
|
||||
working_dir: /application
|
||||
networks:
|
||||
- backend_grav
|
||||
volumes:
|
||||
- /opt/appdata/grav:/application
|
||||
- ./phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/7.3/fpm/conf.d/99-overrides.ini
|
||||
|
|
Loading…
Reference in New Issue