-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
59 lines (43 loc) · 1.35 KB
/
.env.example
File metadata and controls
59 lines (43 loc) · 1.35 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
# FSC Worker Daemon Environment Variables
# Copy this file to .env and fill in your values
# ============ Redis Configuration ============
REDIS_HOST=10.10.0.1
REDIS_PORT=6379
# ============ Worker Configuration ============
# Unique identifier for this worker instance
AGENT_ID=worker-node1
# Maximum number of concurrent tasks
MAX_CONCURRENT=10
# ============ WireGuard Configuration ============
# WireGuard interface name
WG_INTERFACE=wg0
# Node IP in the mesh network
NODE_IP=10.10.0.1
# WireGuard private key (generate with: wg genkey)
WG_PRIVATE_KEY=your_private_key_here
# ============ Docker Configuration ============
# Docker network mode
DOCKER_NETWORK_MODE=bridge
# Docker resource limits
DOCKER_MEMORY_LIMIT=2g
DOCKER_CPU_LIMIT=2
# ============ Logging ============
# Log level: debug, info, warn, error
LOG_LEVEL=info
# Log file path
LOG_FILE=fsc-worker.log
# ============ MemoV Configuration ============
# MemoV Git repository path
MEMOV_PATH=/opt/claw-mesh/.mem
# MemoV branch for this agent
MEMOV_BRANCH=agent-${AGENT_ID}
# ============ Task Configuration ============
# Maximum retry attempts for failed tasks
RETRY_ATTEMPTS=3
# Task timeout in seconds
TASK_TIMEOUT=300
# ============ Health Check ============
# Health check interval in milliseconds
HEALTH_CHECK_INTERVAL=30000
# Health check key in Redis
HEALTH_CHECK_KEY=fsc:worker:health