www.byjp.me/fly.toml
JP Hastings-Spital 68c939762e Gemini: server (fly.io, non-functional)
This puts the framework for building a statically compiled agate into a scratch Docker image which can be run from fly.io (as well as the fly.toml that sets it up correctly).

This doesn't seem to work on fly.io itself at the moment, so more tinkering soon, but it works locally.
2024-04-30 19:59:10 +01:00

31 lines
644 B
TOML

# fly.toml app configuration file generated for byjp-cc on 2024-04-30T15:16:09+01:00
#
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#
app = 'byjp-cc'
primary_region = 'lhr'
[build]
[[files]]
guest_path = "/var/agate/certificates/byjp.cc/cert.der"
secret_name = "AGATE_CERT"
[[files]]
guest_path = "/var/agate/certificates/byjp.cc/key.der"
secret_name = "AGATE_KEY"
[[services]]
internal_port = 1965
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
[[services.ports]]
port = 1965
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1