filecoin-station / core

Station is a visionary network that connects your computer's idle resources to the Filecoin network and rewards you with FIL
https://filstation.app
Other
27 stars 8 forks source link

Document auto-upgrade setup for Docker deployments #420

Open bajtos opened 5 months ago

bajtos commented 5 months ago

Add Watchtower documentation so that Core nodes on Docker also have auto updates.

Related:

juliangruber commented 5 months ago

Via Slack, needs to be tested:

docker run -d --name watchtower --restart=always -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --interval 3600 --cleanup

I propose we try this in core-fly, and replace the dependabot strategy?

bajtos commented 5 months ago

I propose we try this in core-fly, and replace the dependabot strategy?

SGTM.

It would be even better to find a way to run Watchtower via a Docker Compose file so that people don't have to start multiple services manually. Assuming Watchtower and DockerCompose work together.

juliangruber commented 5 months ago

Yes! This is how Saturn does it: https://github.com/filecoin-saturn/L1-node/blob/f40048e8549063800f1fe14530d9ecfb6a1b794e/docker-compose.yml