From be2d4d2c8cd562168ea32285e237b95ffc71294a Mon Sep 17 00:00:00 2001 From: yonas Date: Fri, 6 Sep 2024 21:32:52 +0000 Subject: [PATCH] Update Docker installation instructions to use v8 --- docs/admin/installation-docker.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/admin/installation-docker.md b/docs/admin/installation-docker.md index 06ef7c0c..9a1aea86 100644 --- a/docs/admin/installation-docker.md +++ b/docs/admin/installation-docker.md @@ -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: @@ -26,7 +26,7 @@ networks: services: server: - image: codeberg.org/forgejo/forgejo:7 + image: codeberg.org/forgejo/forgejo:8 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:7 +Image=codeberg.org/forgejo/forgejo:8 Network=forgejo.network PublishPort=3000:3000 PublishPort=222:22 @@ -140,7 +140,7 @@ networks: services: server: - image: codeberg.org/forgejo/forgejo:7 + image: codeberg.org/forgejo/forgejo:8 container_name: forgejo environment: - USER_UID=1000 @@ -186,7 +186,7 @@ networks: services: server: - image: codeberg.org/forgejo/forgejo:7 + image: codeberg.org/forgejo/forgejo:8 container_name: forgejo environment: - USER_UID=1000 @@ -284,8 +284,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: