-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
23 lines (18 loc) · 931 Bytes
/
.env.example
File metadata and controls
23 lines (18 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -- Required -------------------------------------------------------------------
# Generate a strong random key: python3 -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=changeme-please-set-me
# Admin login credentials for the web UI
ADMIN_USER=admin
ADMIN_PASSWORD=changeme
# JWT session duration in hours
TOKEN_TTL_HOURS=8
# Audit log retention in days (entries older than this are pruned on startup)
AUDIT_RETENTION_DAYS=7
# Data directory — SQLite DB and encrypted SSH keys are stored here.
# When running via Docker Compose this is managed by a named volume;
# set this only when running the backend directly on the host.
# DATA_DIR=/data
# CORS allowed origins for the backend API.
# In production set this to your public frontend URL, e.g. https://cloudshell.example.com
# Leave unset when using Docker Compose (Nginx proxies everything on the same origin).
# CORS_ORIGINS=https://cloudshell.example.com