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
|
- database_data:/var/lib/mysql
|
||||||
networks:
|
networks:
|
||||||
- ogcore-network
|
- ogcore-network
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
container_name: ogcore-nginx
|
container_name: ogcore-nginx
|
||||||
build:
|
build:
|
||||||
|
@ -23,8 +22,9 @@ services:
|
||||||
- php
|
- php
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
|
- 8443:443
|
||||||
volumes:
|
volumes:
|
||||||
- ./public:/var/www/html/public:cached
|
- ogpublic:/var/www/html/public:cached
|
||||||
networks:
|
networks:
|
||||||
- ogcore-network
|
- ogcore-network
|
||||||
image: opengnsys/ogcore-nginx:static
|
image: opengnsys/ogcore-nginx:static
|
||||||
|
@ -40,12 +40,15 @@ services:
|
||||||
XDEBUG_CLIENT_HOST: 127.17.0.1
|
XDEBUG_CLIENT_HOST: 127.17.0.1
|
||||||
XDEBUG_CLIENT_PORT: 9003
|
XDEBUG_CLIENT_PORT: 9003
|
||||||
PHP_IDE_CONFIG: serverName=ogcore
|
PHP_IDE_CONFIG: serverName=ogcore
|
||||||
|
volumes:
|
||||||
|
- ogpublic:/var/www/html/public
|
||||||
networks:
|
networks:
|
||||||
- ogcore-network
|
- ogcore-network
|
||||||
image: opengnsys/ogcore-php:static
|
image: opengnsys/ogcore-php:static
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
database_data:
|
database_data:
|
||||||
|
ogpublic:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
ogcore-network:
|
ogcore-network:
|
||||||
|
|
Loading…
Reference in New Issue