2024-02-02 11:58:50 +00:00
|
|
|
# fly.toml app configuration file generated for nwc on 2024-01-30T12:30:13+01:00
|
|
|
|
|
#
|
|
|
|
|
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
app = 'nwc'
|
2024-03-22 18:29:24 +07:00
|
|
|
primary_region = 'lax'
|
2024-07-26 23:09:45 +07:00
|
|
|
swap_size_mb = 2048
|
2025-08-28 22:22:56 +07:00
|
|
|
# Add a kill timeout longer than LDK node shutdown timeout to ensure Alby Hub gracefully shuts down
|
|
|
|
|
kill_timeout = 300
|
2024-02-02 11:58:50 +00:00
|
|
|
|
|
|
|
|
[build]
|
2024-07-05 20:32:40 +07:00
|
|
|
image = 'ghcr.io/getalby/hub:latest'
|
2024-02-02 11:58:50 +00:00
|
|
|
|
|
|
|
|
[env]
|
|
|
|
|
DATABASE_URI = '/data/nwc.db'
|
2024-08-21 17:09:32 +07:00
|
|
|
LDK_LOG_LEVEL = '3'
|
2024-08-22 14:25:09 +07:00
|
|
|
LOG_LEVEL = '4'
|
2024-02-02 11:58:50 +00:00
|
|
|
WORK_DIR = '/data'
|
|
|
|
|
|
|
|
|
|
[[mounts]]
|
|
|
|
|
source = 'nwc_data'
|
|
|
|
|
destination = '/data'
|
|
|
|
|
initial_size = '1'
|
2024-07-26 23:09:45 +07:00
|
|
|
auto_extend_size_threshold = 80
|
|
|
|
|
auto_extend_size_increment = "1GB"
|
|
|
|
|
auto_extend_size_limit = "5GB"
|
2024-02-02 11:58:50 +00:00
|
|
|
|
|
|
|
|
[http_service]
|
|
|
|
|
internal_port = 8080
|
|
|
|
|
force_https = true
|
|
|
|
|
auto_stop_machines = false
|
|
|
|
|
auto_start_machines = true
|
|
|
|
|
min_machines_running = 0
|
|
|
|
|
processes = ['app']
|
|
|
|
|
|
|
|
|
|
[[vm]]
|
|
|
|
|
cpu_kind = 'shared'
|
|
|
|
|
cpus = 1
|
2024-10-19 12:27:03 +02:00
|
|
|
memory = '512mb'
|