pesde/fly.toml
daimond113 15ca642a19
chore: scale down registry memory
Previously, we reserved 1gb of memory for the
registry. This was too much, since the registry
didn't spike above 300mb, but we still paid for
the full 1gb. This commit changes that to the next
smaller value, which is 512mb.
2025-04-19 00:35:03 +02:00

26 lines
491 B
TOML

app = 'pesde-registry'
primary_region = 'waw'
kill_signal = 'SIGINT'
kill_timeout = '5s'
[build]
[env]
ADDRESS = '0.0.0.0'
PORT = '8080'
COMMITTER_GIT_NAME = 'pesde index updater'
COMMITTER_GIT_EMAIL = 'pesde@daimond113.com'
INDEX_REPO_URL = 'https://github.com/pesde-pkg/index'
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "stop"
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[vm]]
memory = '512mb'
cpu_kind = 'shared'
cpus = 1