From 64f86e17a7ce0461e7fbd04102c7a02ab82cb88a Mon Sep 17 00:00:00 2001 From: Jake Magar Date: Wed, 5 Aug 2026 00:06:44 -0400 Subject: [PATCH] chore(ops): add optional secondary bind address for production container Expose the production container on an optional second interface via AURORA_LAN_BIND_ADDRESS (default 127.0.0.1). The real address lives in the untracked production.env. The value must differ from AURORA_BIND_ADDRESS and neither may be 0.0.0.0, or the two port bindings collide at docker compose up. --- ops/compose/production.env.example | 6 ++++++ ops/compose/production.yaml | 1 + 2 files changed, 7 insertions(+) diff --git a/ops/compose/production.env.example b/ops/compose/production.env.example index bd91b8f6..0ae0abfe 100644 --- a/ops/compose/production.env.example +++ b/ops/compose/production.env.example @@ -10,3 +10,9 @@ AURORA_TENANT_URL=https://dinglebear.ai # Used only when rendering the tracked SWAG templates on squirts. AURORA_UPSTREAM_HOST=dookie.manatee-triceratops.ts.net + +# Optional second bind for direct (non-proxied) access on another interface. +# Must differ from AURORA_BIND_ADDRESS and neither may be 0.0.0.0, or the two +# port bindings collide and docker compose up fails. Set the real address in +# the untracked production.env. +AURORA_LAN_BIND_ADDRESS=127.0.0.1 diff --git a/ops/compose/production.yaml b/ops/compose/production.yaml index 1af104c9..a7509156 100644 --- a/ops/compose/production.yaml +++ b/ops/compose/production.yaml @@ -7,6 +7,7 @@ services: container_name: aurora ports: - "${AURORA_BIND_ADDRESS:?AURORA_BIND_ADDRESS is required}:${AURORA_PUBLIC_PORT:-50000}:3000" + - "${AURORA_LAN_BIND_ADDRESS:-127.0.0.1}:${AURORA_PUBLIC_PORT:-50000}:3000" environment: NODE_ENV: production NEXT_TELEMETRY_DISABLED: "1"