-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig-agent-example.toml
More file actions
57 lines (48 loc) · 1.14 KB
/
config-agent-example.toml
File metadata and controls
57 lines (48 loc) · 1.14 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
[debug]
# enabled = true
# web_server = "127.0.0.1"
# web_port = 3001
[carbon]
# address = "localhost:2003"
[logging]
# level = "debug"
[agent]
# local = false
# metrics_enabled = true
# metrics_interval = 60
# stat_enabled = true
# stat_job_interval = 60
[xray]
# xray_config_path = "dev/xray-config.json"
[zmq]
# sub_endpoint = "tcp://localhost:3000"
# pub_endpoint = "tcp://*:3000"
[node]
# env = "dev"
# hostname = "<define in env or config>"
# default_interface = "<autodetected>"
# ipv4 = "<autodetected>"
# uuid = "9658b391-01cb-4031-a3f5-6cbdd749bcff"
# label = "🏴☠️🏴☠️🏴☠️ dev"
[h2]
#enabled = true
#path = "path/to/h2.yaml"
[wg]
#enabled = true
#port = 51599
#network= "10.10.0.0/16"
#address = "10.10.0.1"
#interface = "utun7"
#privkey = "6KVWBZmCBNt1t5hI6KXXf4Eo4mlGNKAxETeRgcXNK0Q="
#pubkey = "Yhg+gj8TqQ3/10a/Ae+Tv1iPin/HigmOnhRkMj7k/hw="
#dns = ["1.1.1.1"]
[api]
# address = "127.0.0.1"
# port = 3005
# endpoint = "http://localhost:3005"
# node_health_check_timeout = 60
# user_limit_check_interval = 60
# user_reactivate_interval = 60
# token = "supetsecrettoken"
# user_limit_mb = 1000
# healthcheck_interval = 60