Dev compose improvements

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.
This commit is contained in:
Johanna Larsson
2026-08-23 09:50:08 +00:00
committed by Tangled
parent 3ade3d10c1
commit c0caa93228
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -10,6 +10,7 @@ dir = "/app/frontend/public"
[database]
url = "postgres://postgres:postgres@db:5432/pds"
max_connections = 20
[storage]
path = "/var/lib/tranquil-pds/blobs"