Stop docker containers before upgrading
authorChocobozzz <me@florianbigard.com>
Mon, 28 May 2018 09:39:09 +0000 (11:39 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 28 May 2018 09:39:09 +0000 (11:39 +0200)
support/doc/docker.md

index 410db11364357c471ea08ad0961ce63d19fceb37..7f331182702e28ea1e932e9bf9bcce96fd9314f9 100644 (file)
@@ -51,8 +51,10 @@ program output, so check out your logs to find them.
 Pull the latest images and rerun PeerTube:
 
 ```
+$ cd /your/peertube/directory
+$ docker-compose down
 $ docker-compose pull
-$ PEERTUBE_WEBSERVER_HOSTNAME="domain.tld" docker-compose up
+$ PEERTUBE_WEBSERVER_HOSTNAME="domain.tld" docker-compose up -d
 ```