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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user