fork of whitequark.org/git-pages with mods for tangled

Remove Fly.io configuration.

This configuration is now managed separately at:

https://codeberg.org/whitequark/grebedoc.dev

Changed files
-107
-2
README.md
··· 50 50 $ docker run -e PAGES_STORAGE_TYPE -e PAGES_STORAGE_S3_ENDPOINT -e PAGES_STORAGE_S3_REGION -e PAGES_STORAGE_S3_ACCESS_KEY_ID -e PAGES_STORAGE_S3_SECRET_ACCESS_KEY -e PAGES_STORAGE_S3_BUCKET -e ACME_EMAIL -p 80:80 -p 443:443 codeberg.org/git-pages/git-pages:latest supervisord 51 51 ``` 52 52 53 - See also the included [configuration](fly.toml) for [Fly.io](https://fly.io). 54 - 55 53 56 54 Features 57 55 --------
-105
fly.toml
··· 1 - # Requires secrets to be set: 2 - # - ACME_EMAIL 3 - # - PAGES_CONFIG_FILE 4 - # - PAGES_STORAGE_S3_ENDPOINT 5 - # - PAGES_STORAGE_S3_ACCESS_KEY_ID 6 - # - PAGES_STORAGE_S3_SECRET_ACCESS_KEY 7 - # - PAGES_STORAGE_S3_BUCKET 8 - 9 - primary_region = "fra" 10 - 11 - [build] 12 - dockerfile = "Dockerfile" 13 - 14 - [experimental] 15 - cmd = ["supervisord"] 16 - 17 - [[vm]] 18 - cpu-type = "shared" 19 - cpus = 2 20 - memory = 512 21 - 22 - [env] 23 - UDP_BIND_TO = "fly-global-services" 24 - ALLOW_PROXY = "172.16.0.0/16" 25 - AUTOMEMLIMIT = "0.25" 26 - 27 - [[files]] 28 - guest_path = "/app/config.toml" 29 - local_path = "config.fly.toml" 30 - 31 - # [::]:80/TCP; HTTP/1.1 and HTTP/2 (cleartext) 32 - 33 - [[services]] 34 - internal_port = 80 35 - protocol = "tcp" 36 - auto_stop_machines = "stop" 37 - auto_start_machines = true 38 - min_machines_running = 1 39 - 40 - [[services.ports]] 41 - port = 80 42 - handlers = ["proxy_proto"] 43 - proxy_proto_options = { version = "v2" } 44 - 45 - [services.concurrency] 46 - type = "connections" 47 - soft_limit = 250 48 - 49 - [[services.http_checks]] 50 - protocol = "http" 51 - method = "get" 52 - path = "/health" 53 - headers = { Health-Check = "🩺", Host = "localhost" } 54 - grace_period = "5s" 55 - interval = "2s" 56 - timeout = "1.5s" 57 - 58 - # [::]:433/TCP; HTTP/1.1 and HTTP/2 59 - 60 - [[services]] 61 - internal_port = 443 62 - protocol = "tcp" 63 - auto_stop_machines = "stop" 64 - auto_start_machines = true 65 - min_machines_running = 1 66 - 67 - [[services.ports]] 68 - port = 443 69 - handlers = ["proxy_proto"] 70 - proxy_proto_options = { version = "v2" } 71 - 72 - [services.concurrency] 73 - type = "connections" 74 - soft_limit = 250 75 - 76 - [[services.http_checks]] 77 - protocol = "https" 78 - method = "get" 79 - path = "/health" 80 - headers = { Health-Check = "🩺", Host = "localhost" } 81 - grace_period = "5s" 82 - interval = "2s" 83 - timeout = "1.5s" 84 - # At the moment there's no good way to handle this, so staging needs TLS keys from production 85 - # for this one host that isn't used for anything other than full stack health checks. 86 - # These can be copied over manually whenever they expire. 87 - tls_skip_verify = false 88 - tls_server_name = "git-pages.fly.dev" 89 - 90 - # 0.0.0.0:433/UDP; HTTP/3 91 - # (Fly.io does not support UDP on public IPv6!) 92 - 93 - [[services]] 94 - internal_port = 443 95 - protocol = "udp" 96 - ports = [{ port = 443 }] 97 - auto_stop_machines = "stop" 98 - auto_start_machines = true 99 - min_machines_running = 1 100 - 101 - # Metrics 102 - 103 - [metrics] 104 - port = 2019 105 - path = "/metrics"