mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix: use ReconnectWebSocket to make the connection more stable fix: typescript error on importing css in vue
43 lines
786 B
YAML
43 lines
786 B
YAML
http:
|
|
routers:
|
|
frontend:
|
|
rule: 'PathPrefix(`/`)'
|
|
service: frontend
|
|
entryPoints:
|
|
- web
|
|
|
|
backend-api:
|
|
rule: 'PathPrefix(`/api`)'
|
|
service: backend
|
|
entryPoints:
|
|
- web
|
|
|
|
backend-socket:
|
|
rule: 'PathPrefix(`/socket.io`)'
|
|
service: backend
|
|
entryPoints:
|
|
- web
|
|
|
|
backend-trpc:
|
|
rule: 'PathPrefix(`/trpc`)'
|
|
service: backend
|
|
entryPoints:
|
|
- web
|
|
|
|
backend-api-docs:
|
|
rule: 'PathPrefix(`/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'
|