Files
mirror/.env.example
T
mohammadian7 384680cd82 Fix Docker build without VPN proxy dependency
Make build proxy optional and use Arvan mirrors for apt/pip by default. Fixes 503 errors when xray proxy on 172.17.0.1:1081 is unavailable during Dokploy deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 20:26:09 +03:30

25 lines
743 B
Bash

# ─── امنیت (حتماً عوض کنید) ───
SECRET_KEY=change-me-to-a-long-random-string-min-32-chars
ADMIN_USERNAME=admin
ADMIN_PASSWORD=change-me-strong-password
# ─── دامنه ───
MIRROR_DOMAIN=mirror.itistan.ir
# ─── مسیرها (در container ثابت بماند) ───
HOST_ROOT=/host
DATA_DIR=/app/data
# ─── رفتار ───
ROLLBACK_MINUTES=15
TEST_ROLLBACK_MINUTES=2
AUTO_TEST_INTERVAL_MINUTES=30
FLASK_ENV=production
# ─── Build (اختیاری — فقط اگر xray روی host فعال است) ───
# BUILD_HTTP_PROXY=http://172.17.0.1:1081
# BUILD_HTTPS_PROXY=http://172.17.0.1:1081
# ─── CLI روی host ───
MIRROR_CONTAINER_NAME=mirror-manager