mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-20 20:54:21 -04:00
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
This commit is contained in:
parent
499d132124
commit
d9b0b7f56e
@ -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
|
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
|
`/var/lib/docker/volumes/gitea_gitea/_data`. The configuration file will be saved at
|
||||||
`/data/gitea/conf/app.ini` after the installation.
|
`/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
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user