Add Traefik labels for domain routing and SSL
Added traefik.enable, router rules, TLS config, and loadbalancer settings to enable proper routing through Traefik reverse proxy.
This commit is contained in:
@@ -67,6 +67,13 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "coolify.managed=true"
|
- "coolify.managed=true"
|
||||||
- "coolify.type=application"
|
- "coolify.type=application"
|
||||||
|
# Traefik labels for routing
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.backend.rule=Host(`prince2-ebook.apps.inbox.sk`)"
|
||||||
|
- "traefik.http.routers.backend.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.backend.tls=true"
|
||||||
|
- "traefik.http.routers.backend.tls.certresolver=letsencrypt"
|
||||||
|
- "traefik.http.services.backend.loadbalancer.server.port=8000"
|
||||||
volumes:
|
volumes:
|
||||||
# Pre persistenciu logov a translation súborov
|
# Pre persistenciu logov a translation súborov
|
||||||
- backend_logs:/app/admin-backend/logs
|
- backend_logs:/app/admin-backend/logs
|
||||||
|
|||||||
Reference in New Issue
Block a user