diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 65644d039..2af3c41ee 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -94,10 +94,7 @@ services: ######################################################### ## NGINX ################################################ ######################################################### - # moved to 'docker-compose.yml' # nginx: - # volumes: - # - ./logs/nginx:/var/log/nginx ######################################################### ## PHPMYADMIN ########################################### diff --git a/docker-compose.yml b/docker-compose.yml index 5901218f5..b26e9f558 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -75,7 +75,6 @@ services: - 3306:3306 volumes: - db_vol:/var/lib/mysql - - ./logs/mariadb:/var/log ######################################################## # BACKEND ############################################## @@ -137,10 +136,6 @@ services: # Application only envs #env_file: # - ./frontend/.env - volumes: - # : – 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 ################################################ diff --git a/logs/.gitignore b/logs/.gitignore index 578c6e2a3..c96a04f00 100644 --- a/logs/.gitignore +++ b/logs/.gitignore @@ -1,5 +1,2 @@ * -!.gitignore -!database -database/* -!database/typeorm.backend.log +!.gitignore \ No newline at end of file diff --git a/logs/database/typeorm.backend.log b/logs/database/typeorm.backend.log deleted file mode 100644 index 7e1d1060e..000000000 --- a/logs/database/typeorm.backend.log +++ /dev/null @@ -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. \ No newline at end of file