route96/config.yaml

49 lines
1.5 KiB
YAML
Raw Permalink Normal View History

2024-12-11 09:46:00 +00:00
# Listen address for webserver
listen: "127.0.0.1:8000"
# Database connection string (MYSQL)
database: "mysql://root:root@localhost:3366/route96"
# Directory to store uploads
storage_dir: "./data"
# Maximum support filesize for uploading
max_upload_bytes: 5e+9
# Public facing url
public_url: "http://localhost:8000"
2025-02-04 13:06:26 +00:00
# (Optional) Whitelisted pubkeys, leave out to disable
2024-12-11 09:46:00 +00:00
# whitelist: ["63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed"]
2025-02-04 13:06:26 +00:00
# (Optional) Path for ViT(224) image model (https://huggingface.co/google/vit-base-patch16-224)
# vit_model:
# model: "falcon_nsfw.safetensors"
# config: "falcon_nsfw.json"
2024-12-11 09:46:00 +00:00
2025-02-04 13:06:26 +00:00
# (Optional) Analytics support
2024-12-11 09:46:00 +00:00
# plausible_url: "https://plausible.com/"
2025-02-04 13:06:26 +00:00
# (Optional) Legacy file path for void.cat uploads
# void_cat_files: "/my/void.cat/data"
# (Optional) Payment system config
payments:
# (Optional) Fiat currency used to track exchange rate along with invoices
# If [cost] is using a fiat currency, exchange rates will always be stored
# in that currency, so this config is not needed
fiat: "USD"
# LND node config
lnd:
2025-02-04 15:59:47 +00:00
endpoint: "https://127.0.0.1:10001"
tls: "/home/kieran/.polar/networks/3/volumes/lnd/alice/tls.cert"
macaroon: "/home/kieran/.polar/networks/3/volumes/lnd/alice/data/chain/bitcoin/regtest/admin.macaroon"
2025-02-04 13:06:26 +00:00
# Cost per unit (BTC/USD/EUR/AUD/CAD/JPY/GBP)
cost:
currency: "BTC"
amount: 0.00000100
# Unit metric used to calculate quote (GBSpace, GBEgress)
unit: "GBSpace"
# Billing interval (day / month / year)
interval:
month: 1