about summary refs log tree commit diff stats
path: root/fly.toml
blob: 5c3531869d067daf000c7de99b70980593a11ac3 (plain)
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 alanpearce-eu on 2024-06-19T15:17:02+02:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = "alanpearce-eu"
primary_region = "ams"

[build]
  image = "registry.fly.io/alanpearce-eu"

[env]
  PORT = "8080"
  TLS_PORT = "8443"
  LISTEN_ADDRESS = "::"
  TLS = "true"
  ROOT = "/data"
  PRODUCTION = "true"
  VCS_LOCAL_PATH = "/data/website"
  VCS_REMOTE_URL = "https://git.alanpearce.eu/website.git"
  ACME_SERVER_URL = "https://acme.alanpearce.eu"
  GOMEMLIMIT = "128MiB"

[[services]]
  internal_port = 8080

  [services.concurrency]
    type = "requests"
    soft_limit = 15000

  [[services.ports]]
    port = 80

[[services]]
  internal_port = 8443

  [[services.ports]]
    port = 443

  [services.concurrency]
    type = "requests"
    soft_limit = 15000

[[vm]]
  size = "shared-cpu-1x"

[[restart]]
  policy = "always"

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