mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
refresh the installation guide with 1.20
This commit is contained in:
parent
8ad4341dd6
commit
773be6dca2
1 changed files with 7 additions and 7 deletions
|
@ -10,12 +10,12 @@ origin_url: 'https://github.com/DanielGibson/DanielGibson.github.io/blob/5836269
|
|||
Forgejo provides [container images](https://codeberg.org/forgejo/-/packages/container/forgejo/versions) for use with Docker or other containerization tools.
|
||||
|
||||
```shell
|
||||
docker pull codeberg.org/forgejo/forgejo:1.19.3-0
|
||||
docker pull codeberg.org/forgejo/forgejo:1.20.1-0
|
||||
```
|
||||
|
||||
The **1.19** tag is set to be the latest patch release, starting with [1.19.0-2](https://codeberg.org/forgejo/-/packages/container/forgejo/1.19.0-2). **1.19** will then be equal to **1.19.1-0** when it is released and so on.
|
||||
The **1.20** tag is set to be the latest patch release, starting with [1.20.1-0](https://codeberg.org/forgejo/-/packages/container/forgejo/1.20.1-0). **1.20** will then be equal to **1.20.2-0** when it is released and so on.
|
||||
|
||||
Upgrading from **1.X** to **1.X+1** (for instance from **1.18** to **1.19**) requires a [manual operation and human verification](../upgrade). However it is possible to use the **X.Y** tag (for instance **1.19**) to get the latest point release automatically.
|
||||
Upgrading from **1.X** to **1.X+1** (for instance from **1.19** to **1.20**) requires a [manual operation and human verification](../upgrade). However it is possible to use the **X.Y** tag (for instance **1.20**) to get the latest point release automatically.
|
||||
|
||||
Here is a sample [docker-compose](https://docs.docker.com/compose/install/) file:
|
||||
|
||||
|
@ -28,7 +28,7 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
image: codeberg.org/forgejo/forgejo:1.19
|
||||
image: codeberg.org/forgejo/forgejo:1.20
|
||||
container_name: forgejo
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
|
@ -63,7 +63,7 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
image: codeberg.org/forgejo/forgejo:1.19
|
||||
image: codeberg.org/forgejo/forgejo:1.20
|
||||
container_name: forgejo
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
|
@ -111,7 +111,7 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
image: codeberg.org/forgejo/forgejo:1.19
|
||||
image: codeberg.org/forgejo/forgejo:1.20
|
||||
container_name: forgejo
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
|
@ -161,7 +161,7 @@ and make it executable:
|
|||
|
||||
> **NOTE:** when a line starts with #, it means the command 'foo --bar' must be run as root (or with sudo).
|
||||
|
||||
`# cp forgejo-1.19.3-0-linux-amd64 /usr/local/bin/forgejo`
|
||||
`# cp forgejo-1.20.1-0-linux-amd64 /usr/local/bin/forgejo`
|
||||
`# chmod 755 /usr/local/bin/forgejo`
|
||||
|
||||
Make sure `git` and `git-lfs` are installed:
|
||||
|
|
Loading…
Reference in a new issue