-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env
More file actions
32 lines (23 loc) · 1.04 KB
/
.env
File metadata and controls
32 lines (23 loc) · 1.04 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
# Home Services Logbook - Environment Variables
# Actor Resolution and Security
# When true, app can read actor identity from trusted upstream header
USE_UPSTREAM_AUTH=false
# Header name used for upstream actor identity when USE_UPSTREAM_AUTH is enabled
UPSTREAM_ACTOR_HEADER=X-Remote-User
# When true, app uses an upstream header to resolve root_path per request
USE_UPSTREAM_ROOT_PATH=false
# Header name used for upstream root path when USE_UPSTREAM_ROOT_PATH is enabled
UPSTREAM_ROOT_PATH_HEADER=X-Ingress-Path
# Allow manual actor override via cookie and POST /actor/set & /actor/reset
ALLOW_ACTOR_OVERRIDE=false
# App Routing and Paths
# Root path for subpath deployments (e.g., "/logbook" for http://host/logbook)
# Default: empty string (mounted at site root)
APP_ROOT_PATH=
# Data and Storage Paths
# Main data directory (ensured to exist at startup)
APP_DATA_DIR=data
# Upload directory (ensured to exist at startup)
APP_UPLOADS_DIR=data/uploads
# SQLite database path (parent directory ensured to exist at startup)
APP_DB_PATH=data/logbook.db