fix: expose Honcho API via Traefik at api.honcho.lazyworkhorse.net
This commit is contained in:
@@ -179,6 +179,17 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- ai_backend
|
- ai_backend
|
||||||
- ai_net
|
- ai_net
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.honcho-http.rule=Host(`api.honcho.lazyworkhorse.net`)"
|
||||||
|
- "traefik.http.routers.honcho-http.entrypoints=web"
|
||||||
|
- "traefik.http.routers.honcho-http.middlewares=redirect-to-https"
|
||||||
|
- "traefik.http.routers.honcho-https.rule=Host(`api.honcho.lazyworkhorse.net`)"
|
||||||
|
- "traefik.http.routers.honcho-https.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.honcho-https.tls=true"
|
||||||
|
- "traefik.http.routers.honcho-https.tls.certresolver=njalla"
|
||||||
|
- "traefik.http.routers.honcho-https.middlewares=hermes-auth"
|
||||||
|
- "traefik.http.services.honcho.loadbalancer.server.port=8000"
|
||||||
depends_on:
|
depends_on:
|
||||||
honcho-db:
|
honcho-db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
Reference in New Issue
Block a user