forked from Scottcjn/Rustchain
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
55 lines (43 loc) · 1.37 KB
/
.env.example
File metadata and controls
55 lines (43 loc) · 1.37 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
# RustChain Docker Environment Configuration
# Copy this file to .env and customize for your deployment
# === Node Configuration ===
RUSTCHAIN_HOME=/rustchain
RUSTCHAIN_DB=/rustchain/data/rustchain_v2.db
DOWNLOAD_DIR=/rustchain/downloads
# === Network Ports ===
# Dashboard HTTP port (exposed to host)
RUSTCHAIN_DASHBOARD_PORT=8099
# Nginx HTTP/HTTPS ports
NGINX_HTTP_PORT=80
NGINX_HTTPS_PORT=443
# === SSL Configuration ===
# Set to 'true' to enable HTTPS (requires SSL certificates)
ENABLE_SSL=false
# SSL certificate paths (if ENABLE_SSL=true)
# Place your SSL certificates in ./ssl/ directory
SSL_CERT_PATH=./ssl/cert.pem
SSL_KEY_PATH=./ssl/key.pem
# === Python Configuration ===
PYTHONUNBUFFERED=1
# === Optional: Node API Configuration ===
# If running additional RustChain services
# NODE_API_HOST=localhost
# NODE_API_PORT=8088
# === Docker Resource Limits (optional) ===
# Uncomment to set memory/CPU limits
# RUSTCHAIN_NODE_MEMORY=1g
# RUSTCHAIN_NODE_CPUS=1.0
# === Logging ===
# Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# === Backup Configuration (optional) ===
# Backup directory on host
# BACKUP_DIR=./backups
# Backup retention (days)
# BACKUP_RETENTION_DAYS=7
# === Advanced: Custom Node Settings ===
# Wallet name (for mining)
# MINER_WALLET=my-rustchain-wallet
# === Security ===
# Set to 'true' to run container as non-root user
RUN_AS_NON_ROOT=true