fix: give postgres volume a name
All checks were successful
Deploy Miniplan / build (push) Successful in 16s

This commit is contained in:
Jonas Gerg 2025-03-22 08:53:07 +01:00
parent 9eecde7a80
commit 06fba58f37

View File

@ -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