mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Provide volume for backend log-files in Docker, move the ones of nginx from dev Docker Compose to main
This commit is contained in:
parent
47fb530725
commit
213b670f68
@ -89,9 +89,10 @@ services:
|
|||||||
#########################################################
|
#########################################################
|
||||||
## NGINX ################################################
|
## NGINX ################################################
|
||||||
#########################################################
|
#########################################################
|
||||||
nginx:
|
# moved to 'docker-compose.yml'
|
||||||
volumes:
|
# nginx:
|
||||||
- ./logs/nginx:/var/log/nginx
|
# volumes:
|
||||||
|
# - ./logs/nginx:/var/log/nginx
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
## PHPMYADMIN ###########################################
|
## PHPMYADMIN ###########################################
|
||||||
|
|||||||
@ -103,6 +103,9 @@ services:
|
|||||||
# Application only envs
|
# Application only envs
|
||||||
#env_file:
|
#env_file:
|
||||||
# - ./frontend/.env
|
# - ./frontend/.env
|
||||||
|
volumes:
|
||||||
|
# <host_machine_directy>:<container_directory> – mirror bidirectional path in local context with path in Docker container
|
||||||
|
- ./logs:/app/logs
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# DATABASE #############################################
|
# DATABASE #############################################
|
||||||
@ -144,6 +147,8 @@ services:
|
|||||||
- admin
|
- admin
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
volumes:
|
||||||
|
- ./logs/nginx:/var/log/nginx
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
external-net:
|
external-net:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user