2026-08-01 10:59:37 +08:00
|
|
|
YUNKE_BASE_URL=https://crm2.yunkecn.com
|
|
|
|
|
YUNKE_USERNAME=
|
|
|
|
|
YUNKE_PASSWORD=
|
|
|
|
|
DB_URL=mysql+asyncmy://user:pass@localhost:3306/yunke
|
|
|
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
|
MEDIA_DIR=./media
|
|
|
|
|
# Fernet key (e.g. from cryptography.fernet.Fernet.generate_key()) used to encrypt
|
|
|
|
|
# stored credentials. Required for real runs; left blank for tests.
|
|
|
|
|
ENCRYPTION_KEY=
|
2026-08-01 14:30:28 +08:00
|
|
|
# Shared bearer token for the viewing API. Empty (default) -> auth DISABLED
|
|
|
|
|
# (trust the network boundary). When set, API requests must present it via
|
|
|
|
|
# `Authorization: Bearer <token>` or `?token=<token>`.
|
|
|
|
|
API_TOKEN=
|