Docker image for Sentinel.
Sentinel is an autonomous agent for persisting, processing and automating [...] governance objects and tasks [...] https://github.com/dashpay/sentinel
docker run lepetitbloc/sentinel
You should specify your configuration and the database directory as volumes:
docker run \
-v /home/dash/masternodes/mn01/.dashcore/dash.conf:/sentinel/.dashcore/dash.conf
-v /home/dash/masternodes/mn01/sentinel/database:/sentinel/database
--network host
lepetitbloc/sentinel
It can be tedious to configure sentinel to use a different
rpchost
than localhost, the easy path is to use--network host
SENTINEL_DEBUG
either1
or0
SENTINEL_CONFIG
path to the sentinel configuration file (/sentinel/conf/sentinel.conf
by default)LC_ALL
to overrides localisation settings (C
by default, for default)
The Dash Sentinel image should be compatible with most forks, but as configurations may vary here is a list of dedicated image variations:
lepetitbloc/sentinel-sparks
built from https://github.com/sparkscrypto/sentinellepetitbloc/sentinel-crowdcoin
built from https://github.com/crowdcoinChain/sentinelLinux- ...
- Build and tag the image:
docker build -t lepetitbloc/sentinel .
- Test the container:
The container is tested using
dgoss
from goss:
curl -fsSL https://goss.rocks/install | sh
dgoss run lepetitbloc/sentinel
[Errno 104] Connection reset by peer
or
[Errno 32] Broken pipe with Python 3.*
or
BadStatusLine with Python 2.*
In any of these cases, it means the server hang-up on you. You reach the server and your credentials are probably right but your IP might not be allowed.
Change the value of rpcallowip
.
📌 Don't forget you can add more than one
rpcallowip
line in your configuration file.
We love cryptocurrencies, consider making a donation:
Currency | Address |
---|---|
Bitcoin | 14VRBrDZ47HR1pWjmAnyC5CJCXDkhLeANb |
Ethereum | 0x1accf4c2bd6010100a2aeac36f336fb963a1716a |
Ethereum Classic | 0x3b33bdcc70f06dad7068594a0cd8fbfd7b203aae |
Litecoin | LdH6Sbq5M9p6dqG7GaRvBjoCqJ2CHnz9wr |
Dash | XuPyN4Ns12qaMKzUjffzeKrCjCL4XYwUCY |
ZCash | t1U2e4TV6zmg6gXAByBp59NtBP2HsEvY5T5 |
Doge | DKbojeYrguCL2Suh9ujmU49m4QK9DixBXL |
MIT
Originally inspired by @phpgeekfr & @Phylante