Fix: remove Postgres schema bind mount for swarm compatibility
This commit is contained in:
parent
92325ef9ec
commit
c995d53d0f
|
|
@ -13,9 +13,13 @@ services:
|
||||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-EduManager2026!Seguro}
|
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-EduManager2026!Seguro}
|
||||||
volumes:
|
volumes:
|
||||||
- pgdata:/var/lib/postgresql/data
|
- pgdata:/var/lib/postgresql/data
|
||||||
- ./schema.sql:/docker-entrypoint-initdb.d/01_schema.sql
|
|
||||||
networks:
|
networks:
|
||||||
- edumanager-internal
|
- edumanager-internal
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U edumanager"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
# ============================
|
# ============================
|
||||||
# STORAGE S3-COMPATIBLE (MINIO)
|
# STORAGE S3-COMPATIBLE (MINIO)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue