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

removed the obsolete version element

Source: 581430f73b/content/reference/compose-file/version-and-name.md (version-top-level-element-obsolete)
This commit is contained in:
Guiorgy 2024-09-04 13:54:15 +04:00 committed by Otto
parent f0d90ef335
commit 45ace87e6f

View file

@ -18,8 +18,6 @@ Upgrading from **X** to **X+1** (for instance from **7** to **8**) requires a [m
Here is a sample [docker-compose](https://docs.docker.com/compose/install/) file:
```yaml
version: '3'
networks:
forgejo:
external: false
@ -78,8 +76,6 @@ If no database is configured, it will default to using SQLite.
### MySQL database
```yaml
version: "3"
networks:
forgejo:
external: false
@ -126,8 +122,6 @@ services:
### PostgreSQL database
```yaml
version: "3"
networks:
forgejo:
external: false
@ -226,8 +220,6 @@ We will use the `rootless` image, which hosts the `ssh` server for Forgejo embed
would look like this (shown as a `diff like` view to the example shown [in our initial example](#installation-with-docker)):
```yaml
version: "3"
networks:
forgejo:
external: false