Changed postgres mounts

This commit is contained in:
2025-06-19 12:35:26 +00:00
parent 995e86f229
commit 8844ee75fe
2 changed files with 5 additions and 4 deletions

3
.gitignore vendored
View File

@@ -1,5 +1,8 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
postgres/
postgres_logs/
.vscode/ .vscode/
.idea/ .idea/

View File

@@ -37,8 +37,8 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB} POSTGRES_DB: ${POSTGRES_DB}
volumes: volumes:
- postgres:/var/lib/postgresql/data - /data/aviation/postgres:/var/lib/postgresql/data
- postgres_logs:/var/log - /data/aviation/postgres_logs:/var/log
ports: ports:
- "${POSTGRES_PORT:-5432}:5432" - "${POSTGRES_PORT:-5432}:5432"
networks: networks:
@@ -159,8 +159,6 @@ services:
<<: *default_restart <<: *default_restart
volumes: volumes:
postgres:
postgres_logs:
redis: redis:
minio: minio:
mailpit: mailpit: