mirror of
https://tangled.org/tranquil.farm/tranquil-pds
synced 2026-08-24 10:16:06 +00:00
1. Set the max connections to 20, I frequently see db-1 | 2026-08-23 08:57:02.784 UTC [12641] FATAL: sorry, too many clients already 2. Add a wildcard route in Traefik to serve DID documents locally. 3. Expose the PLC port locally so I can point an app at `http://localhost:2582` and be able to do full OAuth flows.
37 lines
835 B
YAML
37 lines
835 B
YAML
tls:
|
|
certificates:
|
|
- certFile: /certs/pds.test.pem
|
|
keyFile: /certs/pds.test-key.pem
|
|
|
|
http:
|
|
routers:
|
|
backend:
|
|
rule: "Host(`pds.test`) && (PathPrefix(`/xrpc`) || PathPrefix(`/oauth`) || PathPrefix(`/.well-known`) || PathPrefix(`/u`) || Path(`/health`) || Path(`/`))"
|
|
entryPoints:
|
|
- websecure
|
|
service: backend
|
|
tls: {}
|
|
frontend:
|
|
rule: "Host(`pds.test`)"
|
|
entryPoints:
|
|
- websecure
|
|
service: frontend
|
|
priority: 1
|
|
tls: {}
|
|
handles:
|
|
rule: 'HostRegexp(`^.+\.pds\.test$`)'
|
|
entryPoints:
|
|
- websecure
|
|
service: backend
|
|
tls: {}
|
|
|
|
services:
|
|
backend:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://app-dev:3000"
|
|
frontend:
|
|
loadBalancer:
|
|
servers:
|
|
- url: "http://frontend-dev:5173"
|