chore: reorganiza init-db do postgres

This commit is contained in:
Erik Silva
2025-12-09 01:51:56 -03:00
parent 190fde20c3
commit f553114c06
8 changed files with 15 additions and 15 deletions

View File

@@ -38,7 +38,7 @@ services:
POSTGRES_DB: aggios_db
volumes:
- postgres_data:/var/lib/postgresql/data
- ./postgres/init-db.sql:/docker-entrypoint-initdb.d/init-db.sql
- ./backend/internal/data/postgres/init-db.sql:/docker-entrypoint-initdb.d/init-db.sql
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U aggios -d aggios_db" ]
interval: 10s