From 8b23bbb0a995c917545466d2231cb39f96aff38a Mon Sep 17 00:00:00 2001 From: "Tin.cr" Date: Tue, 26 May 2020 17:28:00 -0400 Subject: [PATCH] :books: Update docker readme for updating n8n (#594) Based on https://community.n8n.io/t/how-to-upgrade-n8n-with-docker-compose-setup/660/2 --- docker/images/n8n/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docker/images/n8n/README.md b/docker/images/n8n/README.md index 808815082..a633eca07 100644 --- a/docker/images/n8n/README.md +++ b/docker/images/n8n/README.md @@ -17,6 +17,7 @@ n8n is a free and open [fair-code](http://faircode.io) licensed node based Workf - [Securing n8n](#securing-n8n) - [Persist data](#persist-data) - [Passing Sensitive Data via File](#passing-sensitive-data-via-file) +- [Updating a Tunning docker-compose Instance](#updating-a-running-docker-compose-instance) - [Example Setup with Lets Encrypt](#example-setup-with-lets-encrypt) - [What does n8n mean and how do you pronounce it](#what-does-n8n-mean-and-how-do-you-pronounce-it) - [Support](#support) @@ -226,6 +227,18 @@ The following environment variables support file input: A basic step by step example setup of n8n with docker-compose and Lets Encrypt is available on the [Server Setup](https://docs.n8n.io/#/server-setup) page. +## Updating a running docker-compose instance + +``` +# Pull down the latest version from dockerhub +docker pull n8nio/n8n +# Stop current setup +sudo docker-compose stop +# Delete it (will only delete the docker-containers, data is stored separately) +sudo docker-compose rm +# Then start it again +sudo docker-compose up -d +``` ## Setting Timezone