Changed postgres mounts
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -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/
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user