Allow private IPs in dev

Running tranquil with `just run-dev` using `pds.test` seems to be broken due to a recent change that blocks requests to private ips. Inside the compose network `pds.test` resolves to the traefik container's private IP. So it can't make requests to stuff like `https://pds.test/oauth-client-metadata.json` or the local plc.

Introduces a new flag, default off, that allows connecting to private IPs, set to true for the dev compose.
This commit is contained in:
Johanna Larsson
2026-08-28 12:36:47 +00:00
committed by Tangled
parent 0f0c50f7d4
commit 093484388f
7 changed files with 36 additions and 16 deletions
+7
View File
@@ -69,6 +69,13 @@
# Default value: false
#disable_rate_limiting = false
# Allow outbound fetches to private network addresses. Useful for local development using docker compose.
#
# Can also be specified via environment variable `ALLOW_PRIVATE_FETCH`.
#
# Default value: false
#allow_private_fetch = false
# Skip the verified-comms-channel gate for login and record writes.
# Please keep this off unless you're an invite-only PDS!
#