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
|
||||
|
||||
@ -36,3 +36,10 @@ services:
|
||||
|
||||
networks:
|
||||
jobot:
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
device: ./.docker/postgres_data
|
10
compose.yml
10
compose.yml
@ -7,7 +7,7 @@ services:
|
||||
POSTGRES_PASSWORD: LocalDbPass
|
||||
POSTGRES_DB: jobot
|
||||
volumes:
|
||||
- ./.docker/postgres_data:/var/lib/postgresql/data
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- jobot
|
||||
|
||||
@ -33,3 +33,11 @@ services:
|
||||
|
||||
networks:
|
||||
jobot:
|
||||
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
device: ./.docker/postgres_data
|
Loading…
x
Reference in New Issue
Block a user