fix: fix of docker compose file
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 1s
Some checks failed
Publish JOBot on dev / Build and deploy (push) Failing after 1s
This commit is contained in:
parent
2f79bd336a
commit
445a1f7fa4
@ -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
|
14
compose.yml
14
compose.yml
@ -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
|
Loading…
x
Reference in New Issue
Block a user