mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Remove the volumes we don't need and some comments
This commit is contained in:
parent
7ead21ca69
commit
5ee5aa0ab5
@ -94,10 +94,7 @@ services:
|
|||||||
#########################################################
|
#########################################################
|
||||||
## NGINX ################################################
|
## NGINX ################################################
|
||||||
#########################################################
|
#########################################################
|
||||||
# moved to 'docker-compose.yml'
|
|
||||||
# nginx:
|
# nginx:
|
||||||
# volumes:
|
|
||||||
# - ./logs/nginx:/var/log/nginx
|
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
## PHPMYADMIN ###########################################
|
## PHPMYADMIN ###########################################
|
||||||
|
|||||||
@ -75,7 +75,6 @@ services:
|
|||||||
- 3306:3306
|
- 3306:3306
|
||||||
volumes:
|
volumes:
|
||||||
- db_vol:/var/lib/mysql
|
- db_vol:/var/lib/mysql
|
||||||
- ./logs/mariadb:/var/log
|
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# BACKEND ##############################################
|
# BACKEND ##############################################
|
||||||
@ -137,10 +136,6 @@ 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
|
|
||||||
# !!! this file has to exist !!! otherwise a folder is created at this path and we get a type error, because it's not a file
|
|
||||||
- ./logs/database/typeorm.backend.log:/app/typeorm.backend.log
|
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
## NGINX ################################################
|
## NGINX ################################################
|
||||||
|
|||||||
5
logs/.gitignore
vendored
5
logs/.gitignore
vendored
@ -1,5 +1,2 @@
|
|||||||
*
|
*
|
||||||
!.gitignore
|
!.gitignore
|
||||||
!database
|
|
||||||
database/*
|
|
||||||
!database/typeorm.backend.log
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
# This has to be exitst in git!
|
|
||||||
# If not then the mirroring with Docker Compose volumes will fail and a folder will be created with this name instead.
|
|
||||||
# But then the type of folder and the type file of the file to mirror will lead to a type error.
|
|
||||||
Loading…
x
Reference in New Issue
Block a user