-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
80 lines (73 loc) · 2.25 KB
/
Copy path.env.example
File metadata and controls
80 lines (73 loc) · 2.25 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Application
NODE_ENV=production
PORT=3000
# Use one or more explicit web origins in production, for example:
# CORS_ORIGIN=https://dash.noderax.net
CORS_ORIGIN=https://dash.example.com
SWAGGER_ENABLED=false
SWAGGER_PATH=docs
NODERAX_STATE_DIR=/data/noderax
# Database
DATABASE_HOST=postgres
DATABASE_PORT=5432
DATABASE_NAME=noderax
DATABASE_USERNAME=postgres
DATABASE_PASSWORD=change-this-postgres-password
DATABASE_SSL=false
DATABASE_SYNCHRONIZE=false
# Production forces SQL query logging off; use this only for non-production diagnostics.
DATABASE_LOGGING=false
# Legacy database aliases kept for backward compatibility
DB_HOST=postgres
DB_PORT=5432
DB_NAME=noderax
DB_USERNAME=postgres
DB_PASSWORD=change-this-postgres-password
DB_SSL=false
DB_SYNCHRONIZE=false
# Production forces SQL query logging off; use this only for non-production diagnostics.
DB_LOGGING=false
# Redis
REDIS_ENABLED=true
REDIS_URL=
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=change-this-redis-password
REDIS_DB=0
REDIS_KEY_PREFIX=noderax:
# Auth
JWT_SECRET=change-this-jwt-secret
JWT_EXPIRES_IN=1d
BCRYPT_SALT_ROUNDS=12
SECRETS_ENCRYPTION_KEY=change-this-secrets-key
# Agents
AGENT_HEARTBEAT_TIMEOUT_SECONDS=90
AGENT_OFFLINE_CHECK_INTERVAL_SECONDS=30
AGENT_REALTIME_PING_TIMEOUT_SECONDS=45
AGENT_REALTIME_PING_CHECK_INTERVAL_SECONDS=5
AGENT_TASK_CLAIM_LEASE_SECONDS=60
AGENT_STALE_TASK_CHECK_INTERVAL_SECONDS=15
AGENT_STALE_QUEUED_TASK_TIMEOUT_SECONDS=120
AGENT_STALE_RUNNING_TASK_TIMEOUT_SECONDS=1800
ENABLE_REALTIME_TASK_DISPATCH=false
AGENT_ENROLLMENT_TOKEN=change-this-agent-enrollment-token
AGENT_HIGH_CPU_THRESHOLD=90
AGENT_PUBLIC_API_URL=https://api.example.com
AGENT_INSTALL_SCRIPT_URL=https://cdn.noderax.net/noderax-agent/install.sh
AGENT_RELEASE_MANIFEST_URL=https://cdn.noderax.net/noderax-agent/releases/latest/release-manifest.json
AGENT_RELEASE_MINISIGN_PUBLIC_KEY=RWQ_REPLACE_WITH_PINNED_MINISIGN_PUBLIC_KEY
AGENT_ROOT_ACCESS_MAX_DURATION_MINUTES=120
# Bootstrap
SEED_DEFAULT_ADMIN=false
ADMIN_NAME=Noderax Admin
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=ChangeMe123!
# Mail
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USERNAME=your-smtp-user
SMTP_PASSWORD=your-smtp-password
SMTP_FROM_EMAIL=noreply@example.com
SMTP_FROM_NAME=Noderax
WEB_APP_URL=http://localhost:3001