Fix: remove Postgres schema bind mount for swarm compatibility

This commit is contained in:
Sidney 2026-04-19 17:16:14 -03:00
parent 92325ef9ec
commit c995d53d0f
1 changed files with 5 additions and 1 deletions

View File

@ -13,9 +13,13 @@ services:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-EduManager2026!Seguro}
volumes:
- pgdata:/var/lib/postgresql/data
- ./schema.sql:/docker-entrypoint-initdb.d/01_schema.sql
networks:
- edumanager-internal
healthcheck:
test: ["CMD-SHELL", "pg_isready -U edumanager"]
interval: 10s
timeout: 5s
retries: 5
# ============================
# STORAGE S3-COMPATIBLE (MINIO)