From 7f45b907b8ff2aad58040c58bdabf108c4b48fa4 Mon Sep 17 00:00:00 2001 From: ngutech21 Date: Sun, 17 Dec 2023 07:58:18 +0100 Subject: [PATCH] chore: add fly.toml --- fly.toml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 fly.toml diff --git a/fly.toml b/fly.toml new file mode 100644 index 00000000..1420bfdb --- /dev/null +++ b/fly.toml @@ -0,0 +1,49 @@ +# fly.toml app configuration file generated for moksha-mint on 2023-12-14T15:52:30+01:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# + +app = "moksha-mint" +primary_region = "ams" + +[env] +LIGHTNING_FEE_PERCENT = "0" +LIGHTNING_RESERVE_FEE_MIN = "0" +LND_GRPC_HOST = "https://mutinynet.moksha.cash:10009" +LND_MACAROON_PATH = "/admin.macaroon" +LND_TLS_CERT_PATH = "/tls.cert" +MINT_DB_URL = "store as secret" +MINT_HOST_PORT = "[::]:3338" +MINT_INFO_DESCRIPTION = "fly.io mint" +MINT_INFO_DESCRIPTION_LONG = "mint description long" +MINT_INFO_MOTD = "some message of the day" +MINT_INFO_NAME = "moksha-mint" +MINT_INFO_VERSION = "true" +MINT_LIGHTNING_BACKEND = "Lnd" +MINT_PRIVATE_KEY = "changeme" +SQLX_OFFLINE = "false" + +[http_service] +internal_port = 3338 +force_https = true +auto_stop_machines = true +auto_start_machines = true +min_machines_running = 0 +processes = ["app"] + +[[files]] +guest_path = "/admin.macaroon" +local_path = "" +secret_name = "LND_MACAROON" +raw_value = "" + +[[files]] +guest_path = "/tls.cert" +local_path = "" +secret_name = "LND_TLS_CERT" +raw_value = "" + +[[vm]] +cpu_kind = "shared" +cpus = 1 +memory_mb = 1024