mirror of
https://github.com/sethforprivacy/p2pool-docker.git
synced 2025-12-07 08:05:03 -05:00
Improve healthcheck to handle IBD properly
This commit is contained in:
@@ -55,8 +55,8 @@ EXPOSE 18080
|
||||
EXPOSE 18089
|
||||
|
||||
# Add HEALTHCHECK against get_info endpoint
|
||||
HEALTHCHECK --interval=5s --timeout=3s CMD curl --fail http://localhost:18089/get_info || exit 1
|
||||
HEALTHCHECK --interval=30s --timeout=5s CMD curl --fail http://localhost:18089/get_info || exit 1
|
||||
|
||||
# Start monerod with required --non-interactive flag and sane defaults that are overridden by user input (if applicable)
|
||||
ENTRYPOINT ["monerod", "--non-interactive"]
|
||||
CMD ["--rpc-restricted-bind-ip=0.0.0.0", "--rpc-restricted-bind-port=18089", "--no-igd", "--no-zmq", "--enable-dns-blocklist"]
|
||||
CMD ["--rpc-restricted-bind-ip=0.0.0.0", "--rpc-restricted-bind-port=18089", "--no-igd", "--no-zmq", "--enable-dns-blocklist"]
|
||||
|
||||
Reference in New Issue
Block a user