about summary refs log tree commit diff stats
path: root/fly.toml
blob: 1ac797334f1d0de98bbfeef12beb4e8e1c318065 (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
# 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]
  BASE_URL = "https://alanpearce.eu"
  PORT = "80"
  REDIRECT_OTHER_HOSTNAMES = "true"

[http_service]
  internal_port = 80
  force_https = true
  auto_stop_machines = false
  auto_start_machines = true
  min_machines_running = 3
  processes = [ "app" ]

  [[http_service.checks]]
    grace_period = "15s"
    interval = "15s"
    method = "GET"
    timeout = "1s"
    path = "/health"

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

  [http_service.http_options]
    h2_backend = true

    [http_service.http_options.response]
      pristine = true

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