diff --git a/docker-compose.swarm.yml b/docker-compose.swarm.yml index a19c0bd..c2059f7 100644 --- a/docker-compose.swarm.yml +++ b/docker-compose.swarm.yml @@ -39,7 +39,8 @@ services: POSTGRES_MAX_CONNECTIONS: ${POSTGRES_MAX_CONNECTIONS:-100} volumes: - postgres_data:/var/lib/postgresql/data - - ./docker/postgres/init-scripts:/docker-entrypoint-initdb.d:ro + # Note: init-scripts bind mount removed for Portainer compatibility + # Init scripts are baked into the postgres image at build time healthcheck: test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-mosaic} -d ${POSTGRES_DB:-mosaic}"] interval: 10s