-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfly.toml
More file actions
30 lines (24 loc) · 705 Bytes
/
Copy pathfly.toml
File metadata and controls
30 lines (24 loc) · 705 Bytes
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
# Setup an exit node for tailscale network
#
# Set authkey, run `flyctl secrets set TS_AUTHKEY=YOUR_KEY`
app = "exit-node"
primary_region = "sjc"
swap_size_mb = 2048
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[env]
# as of 2025-04-05, somehow PATH is not set. Cannot find `tailscaled` command.
PATH = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
TS_HOSTNAME = "exit-node"
TS_STATE_DIR = "/var/lib/tailscale"
TS_EXTRA_ARGS = "--advertise-exit-node"
TS_AUTH_ONCE = true
[build]
image = "tailscale/tailscale:v1.98.3"
[mounts]
source = "tailscale_state"
destination = "/var/lib/tailscale"
[experimental]
allowed_public_ports = []
auto_rollback = true