Switch to host networking for Proxmox LXC compatibility

network_mode: host avoids Docker creating separate network namespaces
which trigger sysctl writes blocked in LXC containers. All service
references updated from container names to localhost.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
JP Scott
2026-03-01 15:37:14 -07:00
parent c401c8f2e0
commit 4ed53d0fd7
2 changed files with 12 additions and 14 deletions

View File

@@ -253,7 +253,7 @@ if [[ "$SKIP_CONFIG" == "false" ]]; then
prompt_value GITHUB_CS "GitHub Client Secret" ""
# Build DATABASE_URL
DATABASE_URL="postgresql://${PG_USER}:${PG_PASSWORD}@db:5432/${PG_DB}"
DATABASE_URL="postgresql://${PG_USER}:${PG_PASSWORD}@localhost:5432/${PG_DB}"
# ─── Step 4: Write .env.production ───────────────────────
@@ -278,7 +278,7 @@ GITHUB_CLIENT_ID="${GITHUB_CID}"
GITHUB_CLIENT_SECRET="${GITHUB_CS}"
# ─── MinIO / S3-compatible storage ───────────────────────
MINIO_ENDPOINT="minio"
MINIO_ENDPOINT="localhost"
MINIO_PORT="9000"
MINIO_ACCESS_KEY="${MINIO_AK}"
MINIO_SECRET_KEY="${MINIO_SK}"