aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc/installation/with-docker.en-us.md
diff options
context:
space:
mode:
authorRyan Halliday <me@ryanhalliday.com>2018-11-26 14:51:02 +1300
committertechknowlogick <hello@techknowlogick.com>2018-11-25 20:51:02 -0500
commitd9b0b7f56ed13077fbb6f3b76f93aca582d3cfcd (patch)
treedcd22c97ab3bad61180003d258ef0f0339c5ea11 /docs/content/doc/installation/with-docker.en-us.md
parent499d13212411960f8607f67c421afd726730528b (diff)
downloadgitea-d9b0b7f56ed13077fbb6f3b76f93aca582d3cfcd.tar.gz
gitea-d9b0b7f56ed13077fbb6f3b76f93aca582d3cfcd.zip
Notes on upgrading docker installation (#5395)
* Notes on upgrading docker installation Basis from [gogs/gogs](https://github.com/gogs/gogs/blob/master/docker/README.md) * Feedback from @sapk to use docker-compose only
Diffstat (limited to 'docs/content/doc/installation/with-docker.en-us.md')
-rw-r--r--docs/content/doc/installation/with-docker.en-us.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/content/doc/installation/with-docker.en-us.md b/docs/content/doc/installation/with-docker.en-us.md
index 73596f074f..141ff4fa6f 100644
--- a/docs/content/doc/installation/with-docker.en-us.md
+++ b/docs/content/doc/installation/with-docker.en-us.md
@@ -267,3 +267,16 @@ be placed in `/data/gitea` directory. If using host volumes it's quite easy to a
files; for named volumes this is done through another container or by direct access at
`/var/lib/docker/volumes/gitea_gitea/_data`. The configuration file will be saved at
`/data/gitea/conf/app.ini` after the installation.
+
+# Upgrading
+
+:exclamation::exclamation: **Make sure you have volumed data to somewhere outside Docker container** :exclamation::exclamation:**
+
+To upgrade your installation to the latest release:
+```
+# Edit `docker-compose.yml` to update the version, if you have one specified
+# Pull new images
+docker-compose pull
+# Start a new container, automatically removes old one
+docker-compose up -d
+```