Merge pull request #2067 from gradido/1904-mirror-volume-for-backend-log-files-in-docker

chore: 🍰 Provide Volume For Backend Log-Files In Docker
This commit is contained in:
Wolfgang Huß 2022-07-25 14:16:02 +02:00 committed by GitHub
commit c69b20e5fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -94,9 +94,7 @@ services:
#########################################################
## NGINX ################################################
#########################################################
nginx:
volumes:
- ./logs/nginx:/var/log/nginx
# nginx:
#########################################################
## PHPMYADMIN ###########################################

View File

@ -107,6 +107,9 @@ services:
# Application only envs
#env_file:
# - ./frontend/.env
volumes:
# <host_machine_directy>:<container_directory> mirror bidirectional path in local context with path in Docker container
- ./logs/backend:/logs/backend
########################################################
# DATABASE #############################################
@ -149,6 +152,8 @@ services:
- admin
ports:
- 80:80
volumes:
- ./logs/nginx:/var/log/nginx
networks:
external-net: