mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
25 lines
476 B
YAML
25 lines
476 B
YAML
http:
|
|
routers:
|
|
frontend:
|
|
rule: 'PathPrefix(`/`)'
|
|
service: frontend
|
|
entryPoints:
|
|
- web
|
|
|
|
backend:
|
|
rule: 'PathPrefix(`/api`, `/socket.io`, `/trpc`, `/api-docs`)'
|
|
service: backend
|
|
entryPoints:
|
|
- web
|
|
|
|
services:
|
|
frontend:
|
|
loadBalancer:
|
|
servers:
|
|
- url: 'http://host.docker.internal:5173'
|
|
|
|
backend:
|
|
loadBalancer:
|
|
servers:
|
|
- url: 'http://host.docker.internal:3000'
|