Sign inSign up

lepetitbloc/sentinel

By lepetitbloc

•Updated over 8 years ago

Docker image for Sentinel.

Image
0

441

lepetitbloc/sentinel repository overview

⁠Sentinel

Build Status

Docker image for Sentinel.

Sentinel is an autonomous agent for persisting, processing and automating [...] governance objects and tasks [...] https://github.com/dashpay/sentinel⁠

⁠Usage

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

⁠Environment variables
  • SENTINEL_DEBUG either 1 or 0
  • 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)
⁠Variants

The Dash Sentinel image should be compatible with most forks, but as configurations may vary here is a list of dedicated image variations:

⁠Resources

⁠Development

  1. Build and tag the image:
docker build -t lepetitbloc/sentinel .
  1. Test the container:

The container is tested using dgoss from goss⁠:

curl -fsSL https://goss.rocks/install | sh
dgoss run lepetitbloc/sentinel

⁠Troubleshooting

[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.

:pushpin: Don't forget you can add more than one rpcallowip line in your configuration file.

⁠Donation

We love cryptocurrencies, consider making a donation:

Currency Address
Bitcoin14VRBrDZ47HR1pWjmAnyC5CJCXDkhLeANb
Ethereum0x1accf4c2bd6010100a2aeac36f336fb963a1716a
Ethereum Classic0x3b33bdcc70f06dad7068594a0cd8fbfd7b203aae
LitecoinLdH6Sbq5M9p6dqG7GaRvBjoCqJ2CHnz9wr
DashXuPyN4Ns12qaMKzUjffzeKrCjCL4XYwUCY
ZCasht1U2e4TV6zmg6gXAByBp59NtBP2HsEvY5T5
DogeDKbojeYrguCL2Suh9ujmU49m4QK9DixBXL

⁠License

MIT

⁠Credits

Originally inspired by @phpgeekfr⁠ & @Phylante⁠

Tag summary

Content type

Image

Digest

Size

42.8 MB

Last updated

over 8 years ago

docker pull lepetitbloc/sentinel