# knots-box: Bitcoin Knots and the DATUM Gateway. # # These ports are read twice: by the role that deploys the service here, and by # the socket-proxy / Caddy plays that run on the EDGE host and publish them. # A role default is invisible to that second play, which is why these live in # host_vars rather than roles//defaults/ - the edge play reads them as # hostvars['knots_box_local']., and the role picks them up automatically # because host_vars outranks role defaults. # # They used to live in services_config.yml, a file 30 plays had to remember to # name in vars_files: and that four role defaults silently depended on. bitcoin_p2p_port: 8333 datum_gateway_api_port: 7152 datum_gateway_stratum_port: 23334 # Systemd services deployed on this host, monitored every 5 minutes. # # The fact lives with the machine rather than in a central map, for the same # reason the cross-host ports do: "what runs here" is a property of the host, # and a central list is one more thing to forget to update when a service moves. # # Only units WE deploy belong here. Distro units (ssh, cron) have their own # supervision and would be noise. monitored_services: - bitcoind - datum-gateway