fix: give postgres volume a name
All checks were successful
Deploy Miniplan / build (push) Successful in 16s
All checks were successful
Deploy Miniplan / build (push) Successful in 16s
This commit is contained in:
parent
9eecde7a80
commit
06fba58f37
@ -3,6 +3,9 @@ name: miniplan
|
||||
networks:
|
||||
backend:
|
||||
|
||||
volumes:
|
||||
postgres:
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:16
|
||||
@ -13,6 +16,8 @@ services:
|
||||
- POSTGRES_DB=minis
|
||||
networks:
|
||||
- backend
|
||||
volumes:
|
||||
- postgres:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready", "-d", "db_prod"]
|
||||
interval: 30s
|
||||
|
||||
Loading…
Reference in New Issue
Block a user