-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfly.example.toml
48 lines (40 loc) · 992 Bytes
/
fly.example.toml
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
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = "CHANGE_ME"
primary_region = "fra"
swap_size_mb = 128
[build]
image = "ghcr.io/niklasrosenstein/headscale-fly-io:0.2.3-headscale-0.23.0"
[deploy]
strategy = "immediate"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "stop"
auto_start_machines = true
min_machines_running = 0
[[http_service.checks]]
grace_period = "10s"
interval = "30s"
method = "GET"
timeout = "5s"
path = "/health"
[[services]]
internal_port = 50443
protocol = "tcp"
[[services.ports]]
handlers = ["tls"]
port = "50443"
[services.ports.tls_options]
alpn = ["h2"]
[[metrics]]
port = 8081
path = "/metrics"
processes = ["app"]
[[vm]]
size = "shared-cpu-1x"
# [env]
# HEADSCALE_DOMAIN_NAME = "vpn.example.com"
# HEADSCALE_OIDC_ISSUER = "https://mykeycloak.org/realms/main"
# HEADSCALE_OIDC_CLIENT_ID = "headscale"