Update yaml to deploy shared volume between php and nginx container
testing/ogcore-api/pipeline/tag This commit looks good Details
testing/ogcore-api/pipeline/head Something is wrong with the build of this commit Details

pull/16/head^2
Nicolas Arenas 2024-11-04 12:02:35 +01:00
parent 738dc55503
commit 3bfd65e909
1 changed files with 5 additions and 2 deletions

View File

@ -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: