mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-01-21 02:12:15 -05:00
Docker Docs Forgejo 10 (#1038)
Changed the Docker Docs to Forgejo 10 Reviewed-on: https://codeberg.org/forgejo/docs/pulls/1038 Reviewed-by: Robert Wolff <mahlzahn@posteo.de> Co-authored-by: Robin Kloppe <git@mainboarder.de> Co-committed-by: Robin Kloppe <git@mainboarder.de>
This commit is contained in:
parent
99f96a0992
commit
b74b392ba7
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:9
|
||||
docker pull codeberg.org/forgejo/forgejo:10
|
||||
```
|
||||
|
||||
If `codeberg.org` can not be accessed you can replace every mention of `codeberg.org` with `data.forgejo.org` to use our mirror.
|
||||
|
||||
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.
|
||||
The **10** tag is set to be the latest minor release, starting with **10.0.x**. The **10** tag will then be equal to **10.0.4** when it is released and so on. The **10.0** tag is also set to be the latest patch version release.
|
||||
|
||||
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.
|
||||
Upgrading from **X** to **X+1** (for instance from **9** to **10**) requires a [manual operation and human verification](../upgrade/). However it is possible to use the **X** tag (for instance **10**) to get the latest minor release automatically.
|
||||
|
||||
### Docker:
|
||||
|
||||
|
@ -26,7 +26,7 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
image: codeberg.org/forgejo/forgejo:9
|
||||
image: codeberg.org/forgejo/forgejo:10
|
||||
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:9
|
||||
Image=codeberg.org/forgejo/forgejo:10
|
||||
Network=forgejo.network
|
||||
PublishPort=3000:3000
|
||||
PublishPort=222:22
|
||||
|
@ -140,7 +140,7 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
image: codeberg.org/forgejo/forgejo:9
|
||||
image: codeberg.org/forgejo/forgejo:10
|
||||
container_name: forgejo
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
|
@ -186,7 +186,7 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
image: codeberg.org/forgejo/forgejo:9
|
||||
image: codeberg.org/forgejo/forgejo:10
|
||||
container_name: forgejo
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
|
@ -284,8 +284,8 @@ networks:
|
|||
|
||||
services:
|
||||
server:
|
||||
- image: codeberg.org/forgejo/forgejo:9
|
||||
+ image: codeberg.org/forgejo/forgejo:9-rootless
|
||||
- image: codeberg.org/forgejo/forgejo:10
|
||||
+ image: codeberg.org/forgejo/forgejo:10-rootless
|
||||
container_name: forgejo
|
||||
+ user: "1024:100"
|
||||
- environment:
|
||||
|
|
Loading…
Add table
Reference in a new issue