mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
Update Docker installation instructions to use v8
(cherry picked from commit be2d4d2c8c
)
This commit is contained in:
parent
c5283b5c9e
commit
e25e9dd4ad
1 changed files with 9 additions and 9 deletions
|
@ -6,14 +6,14 @@ license: 'CC-BY-SA-4.0'
|
|||
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:7.0.3
|
||||
docker pull codeberg.org/forgejo/forgejo:8
|
||||
```
|
||||
|
||||
If `codeberg.org` can not be accessed you can replace every mention of `codeberg.org` with `code.forgejo.org` to use our mirror.
|
||||
|
||||
The **7** tag is set to be the latest minor release, starting with **7.0.x**. The **7** tag will then be equal to **7.0.4** when it is released and so on. The **7.0** tag is also set to be the latest patch version release.
|
||||
The **8** tag is set to be the latest minor release, starting with **8.0.x**. The **8** tag will then be equal to **8.0.4** when it is released and so on. The **8.0** tag is also set to be the latest patch version release.
|
||||
|
||||
Upgrading from **X** to **X+1** (for instance from **7** to **8**) requires a [manual operation and human verification](../upgrade/). However it is possible to use the **X** tag (for instance **7**) to get the latest minor release automatically.
|
||||
Upgrading from **X** to **X+1** (for instance from **7** to **8**) requires a [manual operation and human verification](../upgrade/). However it is possible to use the **X** tag (for instance **8**) to get the latest minor release automatically.
|
||||
|
||||
### Docker:
|
||||
|
||||
|
@ -28,7 +28,7 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
image: codeberg.org/forgejo/forgejo:7
|
||||
image: codeberg.org/forgejo/forgejo:8
|
||||
container_name: forgejo
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
|
@ -63,7 +63,7 @@ Save the following files in /etc/containers/systemd, as port 222 requires elevat
|
|||
ContainerName=forgejo
|
||||
Environment=USER_UID=1000
|
||||
Environment=USER_GID=1000
|
||||
Image=codeberg.org/forgejo/forgejo:7
|
||||
Image=codeberg.org/forgejo/forgejo:8
|
||||
Network=forgejo.network
|
||||
PublishPort=3000:3000
|
||||
PublishPort=222:22
|
||||
|
@ -144,7 +144,7 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
image: codeberg.org/forgejo/forgejo:7
|
||||
image: codeberg.org/forgejo/forgejo:8
|
||||
container_name: forgejo
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
|
@ -192,7 +192,7 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
image: codeberg.org/forgejo/forgejo:7
|
||||
image: codeberg.org/forgejo/forgejo:8
|
||||
container_name: forgejo
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
|
@ -292,8 +292,8 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
- image: codeberg.org/forgejo/forgejo:7
|
||||
+ image: codeberg.org/forgejo/forgejo:7-rootless
|
||||
- image: codeberg.org/forgejo/forgejo:8
|
||||
+ image: codeberg.org/forgejo/forgejo:8-rootless
|
||||
container_name: forgejo
|
||||
+ user: "1024:100"
|
||||
- environment:
|
||||
|
|
Loading…
Reference in a new issue