all repos — homestead @ 0579a731e6dba1ac3d575200d9a100880fda5be2

Code for my website

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
# 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"

[env]
    SERVER_PORT = "8080"
    SERVER_LISTEN_ADDRESS = "::"
    WEBSITE_SOURCE = "/data/website"
    WEBSITE_DESTINATION = "/data/public"
    WEBSITE_VCS_REMOTE_URL = "https://git.alanpearce.eu/website.git"
    GOMEMLIMIT = "200MiB"

[[services]]
    internal_port = 8080

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

    [[services.ports]]
        port = 80

    [[services.ports]]
        handler = [ "tls" ]
        port = 443

    [[services.http_checks]]
        grace_period = "10s"
        protocol = "http"
        interval = "10s"
        method = "GET"
        timeout = "1s"
        path = "/health"

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

[[restart]]
    policy = "always"

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