Update yaml to deploy shared volume between php and nginx container
parent
738dc55503
commit
3bfd65e909
|
@ -13,7 +13,6 @@ services:
|
|||
- database_data:/var/lib/mysql
|
||||
networks:
|
||||
- ogcore-network
|
||||
|
||||
nginx:
|
||||
container_name: ogcore-nginx
|
||||
build:
|
||||
|
@ -23,8 +22,9 @@ services:
|
|||
- php
|
||||
ports:
|
||||
- 8080:80
|
||||
- 8443:443
|
||||
volumes:
|
||||
- ./public:/var/www/html/public:cached
|
||||
- ogpublic:/var/www/html/public:cached
|
||||
networks:
|
||||
- ogcore-network
|
||||
image: opengnsys/ogcore-nginx:static
|
||||
|
@ -40,12 +40,15 @@ services:
|
|||
XDEBUG_CLIENT_HOST: 127.17.0.1
|
||||
XDEBUG_CLIENT_PORT: 9003
|
||||
PHP_IDE_CONFIG: serverName=ogcore
|
||||
volumes:
|
||||
- ogpublic:/var/www/html/public
|
||||
networks:
|
||||
- ogcore-network
|
||||
image: opengnsys/ogcore-php:static
|
||||
|
||||
volumes:
|
||||
database_data:
|
||||
ogpublic:
|
||||
|
||||
networks:
|
||||
ogcore-network:
|
||||
|
|
Loading…
Reference in New Issue