Skip to content

Instantly share code, notes, and snippets.

@garethtdavies
Last active June 10, 2020 14:04
Show Gist options
  • Save garethtdavies/6824a105de5a2b660a5a3b91f55dafa6 to your computer and use it in GitHub Desktop.
Save garethtdavies/6824a105de5a2b660a5a3b91f55dafa6 to your computer and use it in GitHub Desktop.
Docker Run Coda Daemon
docker run -d --name coda \
-e "CODA_PRIVKEY_PASS=xxxxxx" \
--mount type=bind,source="$(pwd)"/keys,target=/root/keys \
-p 8302:8302 \
-p 8303:8303 \
-p 3085:3085 \
--restart always \
codaprotocol/coda-daemon:0.0.12-beta-feature-bump-genesis-timestamp-3e9b174 daemon \
-block-producer-key /root/keys/my-wallet \
-coinbase-receiver <PUBLIC_KEY> \
-run-snark-worker <PUBLIC_KEY> \
-insecure-rest-server \
-peer <PEER_1> \
-peer <PEER_2>
@garethtdavies
Copy link
Author

Simplest version for a block producer

docker run -d --name coda \
-e "CODA_PRIVKEY_PASS=xxxxxx" \
--mount type=bind,source="$(pwd)"/keys,target=/root/keys \
-p 8302:8302 \
-p 8303:8303 \
--restart always \
codaprotocol/coda-daemon:0.0.12-beta-feature-bump-genesis-timestamp-3e9b174 daemon \
-block-producer-key /root/keys/my-wallet \
-peer <PEER_1> \
-peer <PEER_2>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment