fix: service names with underscores (crm_app, crm_worker) + docker_compose_domains with crm_app

This commit is contained in:
Agent Zero
2026-08-05 22:46:33 +02:00
parent b3133abbc1
commit 48e6b15bb2
2 changed files with 25 additions and 15 deletions
+7 -13
View File
@@ -1,11 +1,3 @@
# =============================================================================
# docker-compose.yml — LeoCRM Multi-Container Setup
#
# Full stack: PostgreSQL + Redis + App + Worker, all with persistent volumes.
# Coolify manages networking, labels, and domains — no custom networks or labels.
# No hardcoded secrets, UUIDs, or domains — everything from environment.
# =============================================================================
services:
postgres:
image: pgvector/pgvector:pg16
@@ -36,7 +28,7 @@ services:
timeout: 5s
retries: 5
crm-app:
crm_app:
build:
context: .
dockerfile: Dockerfile
@@ -66,6 +58,8 @@ services:
SMTP_FROM: ${SMTP_FROM:-no-reply@localhost}
SMTP_TLS: ${SMTP_TLS:-true}
BCRYPT_ROUNDS: ${BCRYPT_ROUNDS:-12}
ADMIN_EMAIL: ${ADMIN_EMAIL:-admin@media-on.de}
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-Admin123!}
volumes:
- storage:/data/storage
healthcheck:
@@ -73,9 +67,9 @@ services:
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
start_period: 60s
crm-worker:
crm_worker:
build:
context: .
dockerfile: Dockerfile
@@ -85,7 +79,7 @@ services:
condition: service_healthy
redis:
condition: service_healthy
crm-app:
crm_app:
condition: service_healthy
entrypoint: ["/app/worker.sh"]
environment:
@@ -112,7 +106,7 @@ services:
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
start_period: 60s
volumes:
pgdata: {}