diff --git a/configs/dev.js b/configs/dev.js index 7f2c72c1..c191b456 100644 --- a/configs/dev.js +++ b/configs/dev.js @@ -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'];