numvault / config.example.env
nezuhub's picture
Deploy NumberVault platform
c631404 verified
Raw History Blame Contribute Delete
1.25 kB
# NumberVault configuration template.
# Copy to .env for local development. On Hugging Face use Space secrets and
# variables instead; never commit real values.
# production (default) requires ADMIN_PASSWORD or ADMIN_PASSWORD_HASH.
ENV=production
DATA_DIR=/tmp/numbervault
# DB_PATH defaults to $DATA_DIR/numbervault.db. Never put it on the bucket.
# DB_PATH=/tmp/numbervault/numbervault.db
# Bucket/volume mount. Live SQLite is always kept on local disk.
BUCKET_MOUNT=/data
BUCKET_ENABLED=auto
# Dashboard authentication (server-side verification).
ADMIN_USERNAME=admin
# Generate with: python -c "import secrets;print(secrets.token_urlsafe(24))"
ADMIN_PASSWORD=
# Preferred: PBKDF2 hash produced by numbervault.security.hash_password()
ADMIN_PASSWORD_HASH=
# Telegram bot. If TELEGRAM_BOT_TOKEN is empty the bot is disabled cleanly and
# the dashboard + /health still run.
TELEGRAM_BOT_TOKEN=
ADMIN_TELEGRAM_IDS=
ADMIN_CHAT_ID=
REQUIRED_CHANNELS=
# Payment defaults (can also be edited in the dashboard).
PAYMENT_UPI=
PAYMENT_NAME=
SUPPORT_USERNAME=
CURRENCY=INR
# Limits and intervals.
RESERVATION_MINUTES=30
BACKUP_INTERVAL_SECONDS=300
BACKUP_KEEP=30
MAX_UPLOAD_MB=8
MAX_IMPORT_LINES=5000
TIMEZONE=Asia/Kolkata
HOST=0.0.0.0
PORT=7860