Skip to content

LePetitBloc/sentinel

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.

📌 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
Bitcoin 14VRBrDZ47HR1pWjmAnyC5CJCXDkhLeANb
Ethereum 0x1accf4c2bd6010100a2aeac36f336fb963a1716a
Ethereum Classic 0x3b33bdcc70f06dad7068594a0cd8fbfd7b203aae
Litecoin LdH6Sbq5M9p6dqG7GaRvBjoCqJ2CHnz9wr
Dash XuPyN4Ns12qaMKzUjffzeKrCjCL4XYwUCY
ZCash t1U2e4TV6zmg6gXAByBp59NtBP2HsEvY5T5
Doge DKbojeYrguCL2Suh9ujmU49m4QK9DixBXL

License

MIT

Credits

Originally inspired by @phpgeekfr & @Phylante

About

📡 Docker Image packaging for Sentinel

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published