-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfly.dispatch.toml
More file actions
43 lines (41 loc) · 1.08 KB
/
fly.dispatch.toml
File metadata and controls
43 lines (41 loc) · 1.08 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
app = "pluralkit-dispatch"
primary_region = "sjc"
vm.size = "shared-cpu-1x"
http_service.internal_port = 5000
build.image = "tailscale/tailscale:latest"
machine_config = '''{
"containers": [
{
"name": "tailscale",
"image": "tailscale/tailscale:latest",
"env": {
"PATH": "/bin:/usr/bin:/sbin:/usr/local/bin",
"TS_ACCEPT_DNS": "false",
"TS_HOSTNAME": "fly-dispatch",
"TS_EXTRA_ARGS": "--advertise-tags=tag:fly-dispatch",
"TS_USERSPACE": "false",
"TS_ENABLE_HEALTH_CHECK": "true"
},
"healthchecks": [{
"name": "tailscale_up",
"timeout": 1,
"http": {
"method": "GET",
"port": 9002,
"path": "/healthz"
}
}],
"secrets": [{ "env_var": "TS_AUTHKEY", "name": "TS_AUTHKEY" }]
},
{
"name": "dispatch",
"image": "ghcr.io/pluralkit/dispatch:5f86e2b1565db574e8d2f3db6b9f92ec6ea5b54f",
"env": {
"RUST_LOG": "debug",
"DNS_UPSTREAM": "[fdaa::3]:53"
},
"secrets": [{ "env_var": "HTTP_AUTH_TOKEN", "name": "HTTP_AUTH_TOKEN" }],
"depends_on": [{ "name": "tailscale", "condition": "healthy" }]
}
]
}'''