33 lines
770 B
YAML
33 lines
770 B
YAML
|
|
# Traefik file-provider routes. The app stack uses host networking, so it has
|
||
|
|
# no Docker labels for Traefik to discover — routes are declared statically here.
|
||
|
|
# Targets are loopback ports owned by docker-compose.prod.yml.
|
||
|
|
|
||
|
|
http:
|
||
|
|
routers:
|
||
|
|
bmm-web:
|
||
|
|
rule: "Host(`buildmymcp.com`) || Host(`www.buildmymcp.com`)"
|
||
|
|
entryPoints:
|
||
|
|
- websecure
|
||
|
|
service: bmm-web
|
||
|
|
tls:
|
||
|
|
certResolver: le
|
||
|
|
|
||
|
|
bmm-api:
|
||
|
|
rule: "Host(`api.buildmymcp.com`)"
|
||
|
|
entryPoints:
|
||
|
|
- websecure
|
||
|
|
service: bmm-api
|
||
|
|
tls:
|
||
|
|
certResolver: le
|
||
|
|
|
||
|
|
services:
|
||
|
|
bmm-web:
|
||
|
|
loadBalancer:
|
||
|
|
servers:
|
||
|
|
- url: "http://127.0.0.1:3001"
|
||
|
|
|
||
|
|
bmm-api:
|
||
|
|
loadBalancer:
|
||
|
|
servers:
|
||
|
|
- url: "http://127.0.0.1:4000"
|