-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenv.sample
More file actions
48 lines (44 loc) · 1.26 KB
/
env.sample
File metadata and controls
48 lines (44 loc) · 1.26 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
# Nexus Server Configuration
# Nexus server hostname (used by both minions and console)
# For Docker Compose, use 'nexus' instead of 'localhost'
NEXUS_SERVER=localhost
# gRPC port for minion connections (standard TLS)
NEXUS_MINION_PORT=11972
# gRPC port for console connections (mutual TLS)
NEXUS_CONSOLE_PORT=11973
# HTTP port for web server interface
NEXUS_WEB_PORT=8086
# Enable/disable web server
NEXUS_WEB_ENABLED=true
# Web assets directory (webroot)
NEXUS_WEB_ROOT=webroot
# Database host (use 'nexus_db' for Docker Compose)
DBHOST=localhost
# Database port
DBPORT=5432
# Database username
DBUSER=postgres
# Database password
DBPASS=postgres
# Database name
DBNAME=minexus
# Database SSL mode
DBSSLMODE=disable
# Maximum gRPC message size (10MB)
MAX_MSG_SIZE=10485760
# Root directory for file operations
FILEROOT=/tmp
# Minion Configuration
# Unique minion identifier (auto-generated if empty)
MINION_ID=docker-minion
# Connection timeout in seconds
CONNECT_TIMEOUT=3
# Initial reconnection delay in seconds (exponential backoff starting point)
INITIAL_RECONNECT_DELAY=1
# Maximum reconnection delay in seconds (exponential backoff cap)
MAX_RECONNECT_DELAY=3600
# Heartbeat interval in seconds
HEARTBEAT_INTERVAL=60
# General Configuration
# Enable debug logging
DEBUG=false