0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-23 17:59:25 -05:00

Change docker install docks to refer to forgejo 9 instead of 8

Signed-off-by: minecraftchest1 <minecraftchest1@noreply.codeberg.org>
This commit is contained in:
minecraftchest1 2024-11-06 01:00:29 +00:00
parent 57ffce4e51
commit 96e7886a40

View file

@ -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:8
docker pull codeberg.org/forgejo/forgejo:9
```
If `codeberg.org` can not be accessed you can replace every mention of `codeberg.org` with `code.forgejo.org` to use our mirror.
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.
The **9** tag is set to be the latest minor release, starting with **9.0.x**. The **9** tag will then be equal to **9.0.4** when it is released and so on. The **9.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 **8**) to get the latest minor release automatically.
Upgrading from **X** to **X+1** (for instance from **8** to **9**) requires a [manual operation and human verification](../upgrade/). However it is possible to use the **X** tag (for instance **9**) to get the latest minor release automatically.
### Docker:
@ -26,7 +26,7 @@ networks:
services:
server:
image: codeberg.org/forgejo/forgejo:8
image: codeberg.org/forgejo/forgejo:9
container_name: forgejo
environment:
- USER_UID=1000
@ -61,7 +61,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:8
Image=codeberg.org/forgejo/forgejo:9
Network=forgejo.network
PublishPort=3000:3000
PublishPort=222:22
@ -140,7 +140,7 @@ networks:
services:
server:
image: codeberg.org/forgejo/forgejo:8
image: codeberg.org/forgejo/forgejo:9
container_name: forgejo
environment:
- USER_UID=1000
@ -186,7 +186,7 @@ networks:
services:
server:
image: codeberg.org/forgejo/forgejo:8
image: codeberg.org/forgejo/forgejo:9
container_name: forgejo
environment:
- USER_UID=1000
@ -284,8 +284,8 @@ networks:
services:
server:
- image: codeberg.org/forgejo/forgejo:8
+ image: codeberg.org/forgejo/forgejo:8-rootless
- image: codeberg.org/forgejo/forgejo:9
+ image: codeberg.org/forgejo/forgejo:9-rootless
container_name: forgejo
+ user: "1024:100"
- environment: