feat(apps): package DATUM with stable service discovery

This commit is contained in:
yaya
2026-10-06 06:42:01 +01:00
parent cedfbb2b07
commit 2a2a4552f7
11 changed files with 304 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
if type != "object" then error("Datum config must be an object") else . end
| .bitcoind.rpcurl = ("http://" + env.BITCOIN_RPC_HOST + ":8332")
| .bitcoind.rpcuser = "archipelago"
| .bitcoind.rpcpassword = env.BITCOIN_RPC_PASSWORD
# Use upstream's getbestblockhash fallback; no host bitcoind hooks needed.
| .bitcoind.notify_fallback = true
| .stratum.listen_addr = "0.0.0.0"
| .stratum.listen_port = 23334
| .mining.pool_address //= ""
| .mining.coinbase_tag_primary //= "DATUM Gateway"
| .mining.coinbase_tag_secondary //= "Archipelago"
| .api.listen_port = 7152
| .api.admin_password = env.DATUM_ADMIN_PASSWORD
| .api.modify_conf = true
| .logger.log_to_console = true
| .logger.log_to_file = false
| if .datum.pool_pass_workers == null then .datum.pool_pass_workers = true else . end
| if .datum.pool_pass_full_users == null then .datum.pool_pass_full_users = true else . end
| if .datum.pooled_mining_only == null then .datum.pooled_mining_only = true else . end