Prepara versao dev 1.0

This commit is contained in:
Erik Silva
2025-12-08 21:47:38 -03:00
parent 512287698e
commit 190fde20c3
85 changed files with 7755 additions and 2317 deletions

View File

@@ -9,17 +9,42 @@ http:
X-XSS-Protection: "1; mode=block"
routers:
# API Backend Router
# API Backend Router (only api.localhost)
api-router:
entryPoints:
- web
rule: "HostRegexp(`{subdomain:.+}.localhost`) || Host(`api.localhost`)"
rule: "Host(`api.localhost`)"
middlewares:
- security-headers
service: api-service
# Dashboard Router (dash.localhost for SUPERADMIN)
dashboard-main-router:
entryPoints:
- web
rule: "Host(`dash.localhost`)"
priority: 2
middlewares:
- security-headers
service: dashboard-service
# Multi-tenant Dashboard Router (agency subdomains)
dashboard-tenant-router:
entryPoints:
- web
rule: "HostRegexp(`^.+\\.localhost$`)"
priority: 1
middlewares:
- security-headers
service: dashboard-service
services:
api-service:
loadBalancer:
servers:
- url: http://backend:8080
dashboard-service:
loadBalancer:
servers:
- url: http://dashboard:3000

View File

@@ -13,6 +13,9 @@ providers:
endpoint: unix:///var/run/docker.sock
exposedByDefault: false
network: traefik-network
file:
directory: /etc/traefik/dynamic
watch: true
log:
level: INFO