fix: use correct Traefik label pattern for this cluster
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
TLS terminates at Cloudflare/pfSense, not Traefik. Confirmed by inspecting working services (nextcloud, sage-phr): - entrypoints=web (not websecure) - no tls or certresolver labels needed Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
# POSTGRES_PASSWORD — postgres user password
|
# POSTGRES_PASSWORD — postgres user password
|
||||||
# API_KEY — secret key for API/MCP auth
|
# API_KEY — secret key for API/MCP auth
|
||||||
# OLLAMA_URL — Ollama endpoint (e.g. http://10.x.x.x:11434)
|
# OLLAMA_URL — Ollama endpoint (e.g. http://10.x.x.x:11434)
|
||||||
# IMAGE_TAG — image tag to deploy (e.g. sha-abc1234 or 0.0.1)
|
# IMAGE_TAG — image tag to deploy (e.g. sha-abc1234 or latest)
|
||||||
#
|
#
|
||||||
# Optional:
|
# Optional:
|
||||||
# OLLAMA_EMBEDDING_MODEL — default: bge-m3:latest
|
# OLLAMA_EMBEDDING_MODEL — default: bge-m3:latest
|
||||||
@@ -40,12 +40,9 @@ services:
|
|||||||
OLLAMA_URL: ${OLLAMA_URL}
|
OLLAMA_URL: ${OLLAMA_URL}
|
||||||
OLLAMA_EMBEDDING_MODEL: ${OLLAMA_EMBEDDING_MODEL:-bge-m3:latest}
|
OLLAMA_EMBEDDING_MODEL: ${OLLAMA_EMBEDDING_MODEL:-bge-m3:latest}
|
||||||
LOG_LEVEL: ${LOG_LEVEL:-info}
|
LOG_LEVEL: ${LOG_LEVEL:-info}
|
||||||
ports:
|
|
||||||
- "8765:8000"
|
|
||||||
depends_on:
|
|
||||||
- brain-db
|
|
||||||
networks:
|
networks:
|
||||||
- brain-internal
|
- brain-internal
|
||||||
|
- traefik-public
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
@@ -53,9 +50,9 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.openbrain.rule=Host(`brain.woltje.com`)"
|
- "traefik.http.routers.openbrain.rule=Host(`brain.woltje.com`)"
|
||||||
- "traefik.http.routers.openbrain.entrypoints=websecure"
|
- "traefik.http.routers.openbrain.entrypoints=web"
|
||||||
- "traefik.http.routers.openbrain.tls=true"
|
|
||||||
- "traefik.http.services.openbrain.loadbalancer.server.port=8000"
|
- "traefik.http.services.openbrain.loadbalancer.server.port=8000"
|
||||||
|
- "traefik.docker.network=traefik-public"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
brain_db_data:
|
brain_db_data:
|
||||||
@@ -63,3 +60,5 @@ volumes:
|
|||||||
networks:
|
networks:
|
||||||
brain-internal:
|
brain-internal:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
|
traefik-public:
|
||||||
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user