-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnode.toml.example
More file actions
65 lines (55 loc) · 1.69 KB
/
Copy pathnode.toml.example
File metadata and controls
65 lines (55 loc) · 1.69 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
[node]
id = "local-node-1"
control_api = "http://127.0.0.1:7817"
node_token = "change-me"
region = "default"
work_root = "/data/node"
[node.capabilities]
build = true
serve = true
[build]
concurrency = 1
command_timeout_seconds = 600
retain_workspace_on_failure = true
[serve]
host = "0.0.0.0"
port = 8080
public_base_url = "http://127.0.0.1:8080"
metadata_cache_ttl_seconds = 30
artifact_cache_root = "/data/node/artifacts"
# Native HTTPS uses SNI-selected certificates synchronized from the Control API.
# Enable this on every public regional entry Node. Keep public_base_url on the
# private HTTP listener for Peer Hop traffic and internal health checks.
[serve.tls]
enabled = false
port = 8443
# SSR services start on the first request for their deployment and stop
# again after sitting idle; 0 disables the idle stop.
[serve.ssr]
idle_stop_seconds = 1800
startup_timeout_seconds = 90
[security]
# Repository targets must be publicly routable by default. Node administrators
# may add exact host + resolved IP + port exceptions; wildcards and CIDRs are
# intentionally unsupported.
# [[security.private_repository_targets]]
# host = "git.internal.example"
# ip = "10.0.0.8"
# port = 2222
[development]
verbose_build_log = true
[log]
level = "info"
format = "pretty"
[runtime]
backend = "podman-socket"
socket = "unix:///run/user/1000/podman/podman.sock"
default_build_image = "docker.io/library/node:22"
# Image that runs SSR service containers.
default_serve_image = "docker.io/library/node:22"
# SSR containers are reached by container IP, so a containerized node must
# share this network with them (override with GWNODE_RUNTIME_NETWORK).
network = "bridge"
[runtime.resources]
cpu_limit = 2
memory_mb = 2048