apiVersion: v1
kind: ConfigMap
metadata:
  name: supervisor-mobilecoind
  namespace: NETWORKNAME
data:
  mobilecoind.conf: |
    [program:mobilecoind]
    command=/usr/bin/mobilecoind
      --peer mc://node1.NETWORKNAME.mobilecoin.com:443/
      --peer mc://node2.NETWORKNAME.mobilecoin.com:443/
      --peer mc://node3.NETWORKNAME.mobilecoin.com:443/
      --peer mc://node4.NETWORKNAME.mobilecoin.com:443/
      --peer mc://node5.NETWORKNAME.mobilecoin.com:443/
      --tx-source-url https://s3-us-west-1.amazonaws.com/mobilecoin.chain/node1.NETWORKNAME.mobilecoin.com/
      --tx-source-url https://s3-us-west-1.amazonaws.com/mobilecoin.chain/node2.NETWORKNAME.mobilecoin.com/
      --ledger-db /ledger
      --poll-interval 1
      --mobilecoind-db /mobilecoind
      --listen-uri insecure-mobilecoind://0.0.0.0:3229/

    stdout_logfile=/dev/fd/1
    stdout_logfile_maxbytes=0
    stderr_logfile=/dev/fd/2
    stderr_logfile_maxbytes=0
    autorestart=true
