From 45ace87e6fce22bb8f0686e214a5de60ac664b83 Mon Sep 17 00:00:00 2001 From: Guiorgy Date: Wed, 4 Sep 2024 13:54:15 +0400 Subject: [PATCH] removed the obsolete version element Source: https://github.com/docker/docs/blob/581430f73be15d5a16234a4c786878e3ff3db252/content/reference/compose-file/version-and-name.md#version-top-level-element-obsolete --- docs/admin/installation-docker.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs/admin/installation-docker.md b/docs/admin/installation-docker.md index 8c919e26..92e42d7f 100644 --- a/docs/admin/installation-docker.md +++ b/docs/admin/installation-docker.md @@ -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