fix: fix of docker compose file
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 1s

This commit is contained in:
Pavel-Savely Savianok 2025-07-18 16:23:23 +03:00
parent 2f79bd336a
commit 445a1f7fa4
2 changed files with 20 additions and 5 deletions

View File

@ -9,7 +9,7 @@ services:
ports:
- "5432:5432"
volumes:
- ./.docker/postgres_data:/var/lib/postgresql/data
- postgres_data:/var/lib/postgresql/data
networks:
- jobot
@ -35,4 +35,11 @@ services:
- jobot
networks:
jobot:
jobot:
volumes:
postgres_data:
driver: local
driver_opts:
type: none
device: ./.docker/postgres_data

View File

@ -5,9 +5,9 @@ services:
image: postgres:15
environment:
POSTGRES_PASSWORD: LocalDbPass
POSTGRES_DB: jobot
POSTGRES_DB: jobot
volumes:
- ./.docker/postgres_data:/var/lib/postgresql/data
- postgres_data:/var/lib/postgresql/data
networks:
- jobot
@ -32,4 +32,12 @@ services:
- jobot
networks:
jobot:
jobot:
volumes:
postgres_data:
driver: local
driver_opts:
type: none
device: ./.docker/postgres_data