all repos — flynet @ main

ersatz CDN on fly.io

fly.toml (view raw)

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
# fly.toml app configuration file generated for flynet-butterfly-1123 on 2026-04-26T19:33:22+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'flynet-butterfly-1123'
primary_region = 'ams'

[build]

[env]
  GOMEMLIMIT = "220MiB"

[deploy]
  release_command = "/usr/bin/caddy validate"

[[metrics]]
  port = 2019
  path = "/metrics"

[[vm]]
  memory = '256mb'
  cpus = 1
  memory_mb = 256

[[services]]
  internal_port = 80
  protocol = "tcp"

  [[services.ports]]
  port = 80
  handlers = ["http"]

[[services]]
  internal_port = 443
  protocol = "tcp"

  [[services.ports]]
  port = 443

  [[services.http_checks]]
  interval = "10s"
  grace_period = "10s"
  timeout = "2s"
  method = "get"
  path = "/"
  protocol = "https"
  tls_server_name = "flynet-butterfly-1123.fly.dev"

[mounts]
  source = "data"
  destination = "/data"
  initial_size = "1gb"