White-Whale-Defi-Platform / white-whale-bots

A single-chain and multi-dex arbitrage bot the utilizing White Whale flash loans and Skip Protocol.
https://whitewhale.money
MIT License
81 stars 32 forks source link

fix: Use unless-stopped for docker containers to prevent unexpected starts after docker daemon reboot #82

Closed silvermind closed 1 year ago

silvermind commented 1 year ago

Description and Motivation

Has all bots restarted after a server reboot, also the one I've stopped manually.

unless-stopped is similar to always, except that when the container is stopped (manually or otherwise), it is not restarted even after Docker daemon restarts.

Related Issues

n/a

Checklist:

SirTLB commented 1 year ago

@silvermind can you please change the PR to release branch? We only release updates to the main branch on a scheduled basis.