chore: add docker and traefik config for ai.activeblue.net

This commit is contained in:
ActiveBlue Build
2026-04-12 14:17:32 -04:00
parent d1e8847cad
commit bea58371c1
3 changed files with 110 additions and 0 deletions

33
traefik_dynamic_ai.yml Normal file
View File

@@ -0,0 +1,33 @@
# ActiveBlue AI — Traefik dynamic config
# Place this file at: /opt/traefik/dynamic/traefik_dynamic_ai.yml
http:
routers:
odoo-ai:
rule: "Host(`ai.activeblue.net`)"
entryPoints:
- websecure
tls:
certResolver: le
service: odoo-ai
middlewares:
- odoo-ai-headers
services:
odoo-ai:
loadBalancer:
servers:
- url: "http://odoo-ai-web:8069"
healthCheck:
path: /web/health
interval: 30s
timeout: 5s
middlewares:
odoo-ai-headers:
headers:
customRequestHeaders:
X-Forwarded-Proto: "https"
sslRedirect: true
forceSTSHeader: true
stsSeconds: 31536000