-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace update.sh with an external dependency #109
Comments
I think that is an "orthogonal" issue - you probably (I haven't tried it) COULD already replace the ... and then, in a future next step, you (probably, TBD) can somehow get Watchtower to attempt a "roling update", perhaps with this and/or this? (Their doc isn't clear if and how exactly they support it, at least to me.) But perhaps this would be easier if the container first had #124 and #125? |
yeah you're absolutely right! These are orthogonal issues.
that sounds like a good approach. thank you for looking it up :) |
FYI, I've successfully setup my node with automatic updates through Watchtower using the following docker-compose.yml file:
Note how I'm using |
Let us embrace docker compose. Fixes filecoin-saturn#109, filecoin-saturn#125
Let us embrace docker compose. Fixes filecoin-saturn#109, filecoin-saturn#125
The less code we have to maintain, the less complexity we have to focus on and the better it will be on the long run.
This principle can be applied to
update.sh
which can be replaced by watchtower, for instance.Since we can't have all nodes rebooting at the same time, as that would kill the network, we can use lifecycle hooks to wait a random time, as it is currently done here.
This guide offers a good way to get started. This is another good ref.
One should note that watchtower does not support rollbacks. Doing so would be ideal, as per this issue.
The text was updated successfully, but these errors were encountered: