Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Deploy node #1

Open
3 tasks
tharvik opened this issue Mar 12, 2021 · 2 comments
Open
3 tasks

Deploy node #1

tharvik opened this issue Mar 12, 2021 · 2 comments

Comments

@tharvik
Copy link
Collaborator

tharvik commented Mar 12, 2021

Automatically updates theses on new docker image (watchtower?)

The participants are

@ineiti
Copy link
Contributor

ineiti commented Mar 12, 2021

Just writing down what I asked myself this morning: what is the best way to update running docker images?

  • watchtower - it uses polling, so either we ask it to poll docker-hub every minute and trigger docker-hub's DOS protection (like I did), or we wait for 1h for it to update. Well, byzcoin updates once a week, so that's probably OK. But for short update cycles it doesn't shine
  • ssh prod bash -c "docker-compose down; docker-compose pull; docker-compose up -d" in a github-workflow - well, it works, but still feels bad. You have to create an ssh-keypair (or take your personal one ;) and install the public one in github

Are there any other options?

@tharvik
Copy link
Collaborator Author

tharvik commented Mar 15, 2021

Just writing down what I asked myself this morning: what is the best way to update running docker images?

As watchtower hits rate limiting, the ~best one is to trigger update ourself, via ssh.

Are there any other options?

I don't think so. I know of some way using kubernetes which triggers deployement when a new image is build but only for its own containers.

@tharvik tharvik mentioned this issue Apr 13, 2021
1 task
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants