Skip to content
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

Remove docker-compose down b/c it is not needed and adds downtime #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

camisatx
Copy link

The docker update process can be performed with the containers active. The docker-compose up process automatically replaces any old container, even if it is still active. This means that there is nearly zero downtime.

So instead of shutting contains down before pulling and building updates (a lengthy process), the current containers can continue performing tasks, only being replaced when any updates have finished being processed.

The docker-compose build line could also be integrated into the up process via a flag: docker-compose up -d --build, however, that may obscure the flow of things hence I didn't propose it.

toome123 pushed a commit to toome123/IOTstack that referenced this pull request Dec 4, 2020
…v-template

Use only known-good keys in InfluxDB environment template
@tablatronix
Copy link

I noticed this yesterday also, took docker down while it was running, was unexpected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants