Files
mirror/.env.example
T
mohammadian7 63d0699cdd Fix Docker apply crash and add safe profile test flow
Remove invalid _mirror_manager from daemon.json that prevented Docker from starting. Add 2-minute test apply with auto-rollback, final apply confirmation, emergency-restore CLI/UI, and post-restart Docker health checks.

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

21 lines
561 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
# ─── CLI روی host ───
MIRROR_CONTAINER_NAME=mirror-manager