feat: expose admin console on HTTPS via Traefik port 3002
All checks were successful
CI / build (push) Successful in 48s
CI / docker (push) Successful in 9s

Traefik-only change: new entrypoint + router for TLS termination.
No changes to Logto ADMIN_ENDPOINT or bootstrap script.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-07 00:09:42 +02:00
parent 774db7ba53
commit 04a2b41326
3 changed files with 8 additions and 1 deletions

View File

@@ -8,7 +8,6 @@ services:
logto:
ports:
- "3001:3001"
- "3002:3002"
cameleer-saas:
ports:

View File

@@ -30,6 +30,7 @@ services:
ports:
- "80:80"
- "443:443"
- "3002:3002"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik.yml:/etc/traefik/traefik.yml:ro
@@ -81,6 +82,11 @@ services:
- traefik.http.routers.logto.entrypoints=websecure
- traefik.http.routers.logto.tls=true
- traefik.http.services.logto.loadbalancer.server.port=3001
- traefik.http.routers.logto-console.rule=PathPrefix(`/`)
- traefik.http.routers.logto-console.entrypoints=admin-console
- traefik.http.routers.logto-console.tls=true
- traefik.http.routers.logto-console.service=logto-console
- traefik.http.services.logto-console.loadbalancer.server.port=3002
networks:
- cameleer

View File

@@ -11,6 +11,8 @@ entryPoints:
scheme: https
websecure:
address: ":443"
admin-console:
address: ":3002"
providers:
docker: