-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (27 loc) · 2.4 KB
/
.env.example
File metadata and controls
33 lines (27 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ── Cosmos DB ─────────────────────────────────────────────────────────────────
# Leave blank to run in in-memory mode (no Cosmos required)
COSMOS_URL=
COSMOS_KEY=
MODEL_DB_NAME=evamodel
MODEL_CONTAINER_NAME=model_objects
# ── Model Data Directory ──────────────────────────────────────────────────────
# Leave blank to use the default model/ folder beside this server's code.
# Set to an absolute path to run an isolated instance for a different project
# (e.g. MODEL_DIR=C:\myproject\data-model\model). Used by 51-ACA side project.
MODEL_DIR=
# ── Redis ─────────────────────────────────────────────────────────────────────
# Leave blank to use in-process memory cache
REDIS_URL=
# ── Cache ─────────────────────────────────────────────────────────────────────
CACHE_TTL_SECONDS=60
# ── Security ──────────────────────────────────────────────────────────────────
# Token for Authorization: Bearer <token> on /model/admin/* routes.
# REQUIRED in production: set a strong value and NEVER commit it to source control.
# Startup will FAIL with a clear error if DEV_MODE=false and token is still 'dev-admin'.
ADMIN_TOKEN=
# ── Mode ──────────────────────────────────────────────────────────────────────
# dev_mode=true (default): allows ADMIN_TOKEN='dev-admin', verbose startup warnings.
# dev_mode=false (production): ADMIN_TOKEN must be set to a non-default value or startup fails.
DEV_MODE=true
# ── Actor ─────────────────────────────────────────────────────────────────────
DEFAULT_ACTOR=anonymous