fix: remove coolify network from backend to prevent DNS conflict with crm-postgres; remove MCP Traefik labels and docker.sock mount

This commit is contained in:
Agent Zero
2026-07-13 03:00:12 +02:00
parent 620f7b3153
commit 1221350ed6
+1 -14
View File
@@ -55,32 +55,19 @@ services:
volumes:
- ./:/data/repo
- ./images:/data/images
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
healthcheck:
test:
- CMD
- python
- -c
- import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')
- import urllib.request; urllib.request.urlopen("http://localhost:8000/api/health")
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
- hms-network
- coolify
labels:
- traefik.enable=true
- traefik.http.routers.hms-mcp-http.entryPoints=http
- traefik.http.routers.hms-mcp-http.rule=Host(`hms.media-on.de`) && PathPrefix(`/mcp`)
- traefik.http.routers.hms-mcp-http.middlewares=hms-redirect
- traefik.http.routers.hms-mcp-https.entryPoints=https
- traefik.http.routers.hms-mcp-https.rule=Host(`hms.media-on.de`) && PathPrefix(`/mcp`)
- traefik.http.routers.hms-mcp-https.tls=true
- traefik.http.routers.hms-mcp-https.tls.certresolver=letsencrypt
- traefik.http.routers.hms-mcp-https.middlewares=hms-gzip
- traefik.http.services.hms-mcp.loadbalancer.server.port=8000
postgres:
image: postgres:16-alpine
volumes: