Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions configs/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
// common paths
config.paths.cache = path.join(__dirname, '..', '.cache');
config.paths.log = path.join(os.tmpdir(), 'authn.localhost');

// bind to all interfaces so Docker containers can reach the host via
// host.docker.internal (which maps to 192.168.65.254, not loopback).
// note: this also exposes the mediator on all LAN interfaces, not just
// Docker's bridge — acceptable for local dev, avoid on shared networks.
config.server.bindAddr = ['0.0.0.0'];