From 8844ee75fe754d127650509826515fd52be8d0c8 Mon Sep 17 00:00:00 2001 From: Ben Sherriff Date: Thu, 19 Jun 2025 12:35:26 +0000 Subject: [PATCH] Changed postgres mounts --- .gitignore | 3 +++ docker-compose.yml | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index b6468a9..bfe3268 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,8 @@ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. +postgres/ +postgres_logs/ + .vscode/ .idea/ diff --git a/docker-compose.yml b/docker-compose.yml index b4f5a11..90e1af1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -37,8 +37,8 @@ services: POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_DB: ${POSTGRES_DB} volumes: - - postgres:/var/lib/postgresql/data - - postgres_logs:/var/log + - /data/aviation/postgres:/var/lib/postgresql/data + - /data/aviation/postgres_logs:/var/log ports: - "${POSTGRES_PORT:-5432}:5432" networks: @@ -159,8 +159,6 @@ services: <<: *default_restart volumes: - postgres: - postgres_logs: redis: minio: mailpit: