chore: add docker and traefik config for ai.activeblue.net
This commit is contained in:
33
traefik_dynamic_ai.yml
Normal file
33
traefik_dynamic_ai.yml
Normal 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
|
||||
Reference in New Issue
Block a user