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>
This commit is contained in:
@@ -16,5 +16,9 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user