fix: use shared core PostgreSQL for Coolify instead of separate instance

This commit is contained in:
2025-11-15 13:31:05 +01:00
parent 30249bd3ca
commit 3ff112ccb3
3 changed files with 1 additions and 29 deletions

View File

@@ -89,8 +89,6 @@ services:
container_name: ${DEV_COMPOSE_PROJECT_NAME}_coolify
restart: unless-stopped
depends_on:
coolify_postgres:
condition: service_healthy
coolify_soketi:
condition: service_started
volumes:
@@ -142,25 +140,6 @@ services:
# Watchtower
- 'com.centurylinklabs.watchtower.enable=${WATCHTOWER_LABEL_ENABLE}'
# Coolify PostgreSQL
coolify_postgres:
image: postgres:15-alpine
container_name: ${DEV_COMPOSE_PROJECT_NAME}_coolify_postgres
restart: unless-stopped
volumes:
- coolify_postgres_data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DEV_COOLIFY_DB_NAME}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${DB_USER}"]
interval: 5s
timeout: 5s
retries: 10
networks:
- compose_network
# Coolify Soketi (WebSocket server)
coolify_soketi:
image: quay.io/soketi/soketi:1.0-16-alpine
@@ -187,8 +166,6 @@ volumes:
name: ${DEV_COMPOSE_PROJECT_NAME}_gitea_runner_data
coolify_data:
name: ${DEV_COMPOSE_PROJECT_NAME}_coolify_data
coolify_postgres_data:
name: ${DEV_COMPOSE_PROJECT_NAME}_coolify_postgres_data
networks:
compose_network: