Remove the volumes we don't need and some comments

This commit is contained in:
Wolfgang Huß 2022-07-21 15:20:02 +02:00
parent 7ead21ca69
commit 5ee5aa0ab5
4 changed files with 1 additions and 15 deletions

View File

@ -94,10 +94,7 @@ services:
######################################################### #########################################################
## NGINX ################################################ ## NGINX ################################################
######################################################### #########################################################
# moved to 'docker-compose.yml'
# nginx: # nginx:
# volumes:
# - ./logs/nginx:/var/log/nginx
######################################################### #########################################################
## PHPMYADMIN ########################################### ## PHPMYADMIN ###########################################

View File

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

3
logs/.gitignore vendored
View File

@ -1,5 +1,2 @@
* *
!.gitignore !.gitignore
!database
database/*
!database/typeorm.backend.log

View File

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