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:
+2
-15
@@ -55,32 +55,19 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./:/data/repo
|
- ./:/data/repo
|
||||||
- ./images:/data/images
|
- ./images:/data/images
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
- CMD
|
- CMD
|
||||||
- python
|
- python
|
||||||
- -c
|
- -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
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
networks:
|
networks:
|
||||||
- hms-network
|
- 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:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
volumes:
|
volumes:
|
||||||
@@ -89,7 +76,7 @@ services:
|
|||||||
- POSTGRES_USER=hms
|
- POSTGRES_USER=hms
|
||||||
- POSTGRES_PASSWORD=hms
|
- POSTGRES_PASSWORD=hms
|
||||||
- POSTGRES_DB=hms
|
- POSTGRES_DB=hms
|
||||||
- POSTGRES_HOST_AUTH_METHOD=trust
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test:
|
test:
|
||||||
|
|||||||
Reference in New Issue
Block a user