Prepara versao dev 1.0
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user