Configured auto-deploy #23

Merged
Lisoveliy merged 14 commits from dev into main 2025-07-18 16:00:48 +02:00
2 changed files with 20 additions and 5 deletions
Showing only changes of commit 445a1f7fa4 - Show all commits

View File

@ -9,7 +9,7 @@ services:
ports: ports:
- "5432:5432" - "5432:5432"
volumes: volumes:
- ./.docker/postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
networks: networks:
- jobot - jobot
@ -35,4 +35,11 @@ services:
- jobot - jobot
networks: 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 image: postgres:15
environment: environment:
POSTGRES_PASSWORD: LocalDbPass POSTGRES_PASSWORD: LocalDbPass
POSTGRES_DB: jobot POSTGRES_DB: jobot
volumes: volumes:
- ./.docker/postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
networks: networks:
- jobot - jobot
@ -32,4 +32,12 @@ services:
- jobot - jobot
networks: networks:
jobot: jobot:
volumes:
postgres_data:
driver: local
driver_opts:
type: none
device: ./.docker/postgres_data