From 06ac9c1eeda9ecec84dd723c16aca56f1c4f424b Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Tue, 3 Jan 2023 13:51:00 +0300 Subject: [PATCH] Remove version fields from Docker Compose override file examples (#5545) I was supposed to do this in #5524 when I was removing them everywhere else, but I didn't think to search the documentation. Compose override files must have the same format as the base file, otherwise Docker Compose rejects them. Fixes #5544. --- site/content/en/docs/administration/advanced/ldap.md | 2 -- site/content/en/docs/administration/basics/installation.md | 2 -- .../docs/administration/basics/social-accounts-configuration.md | 2 -- site/content/en/docs/faq.md | 2 -- 4 files changed, 8 deletions(-) diff --git a/site/content/en/docs/administration/advanced/ldap.md b/site/content/en/docs/administration/advanced/ldap.md index 783f1a6ffdde..69ccc94ef8bc 100644 --- a/site/content/en/docs/administration/advanced/ldap.md +++ b/site/content/en/docs/administration/advanced/ldap.md @@ -27,8 +27,6 @@ In your override config you need to passthrough your settings and tell CVAT to use them by setting the `DJANGO_SETTINGS_MODULE` variable. ```yml -version: '3.3' - services: cvat: environment: diff --git a/site/content/en/docs/administration/basics/installation.md b/site/content/en/docs/administration/basics/installation.md index 9266e6630dc0..84bde0ac94ec 100644 --- a/site/content/en/docs/administration/basics/installation.md +++ b/site/content/en/docs/administration/basics/installation.md @@ -448,8 +448,6 @@ To do that you can mount it to CVAT docker container. Example of docker-compose.override.yml for this purpose: ```yml -version: '3.3' - services: cvat_server: volumes: diff --git a/site/content/en/docs/administration/basics/social-accounts-configuration.md b/site/content/en/docs/administration/basics/social-accounts-configuration.md index ef48ac636fc0..e4ec6f89ef8b 100644 --- a/site/content/en/docs/administration/basics/social-accounts-configuration.md +++ b/site/content/en/docs/administration/basics/social-accounts-configuration.md @@ -32,7 +32,6 @@ To enable authentication, do the following: 1. Create `docker-compose.override.yml` with the following code: ```yaml - version: '3.3' services: cvat_server: environment: @@ -62,7 +61,6 @@ There are 2 basic steps to enable Github account authentication. 1. Create `docker-compose.override.yml` with the following code: ```yaml - version: '3.3' services: cvat_server: environment: diff --git a/site/content/en/docs/faq.md b/site/content/en/docs/faq.md index 166bfcdbaaba..cca302d8d735 100644 --- a/site/content/en/docs/faq.md +++ b/site/content/en/docs/faq.md @@ -87,8 +87,6 @@ Follow the Docker manual and configure the directory that you want to use as a s After that, it should be possible to use this directory as a CVAT share: ```yaml -version: '3.3' - services: cvat: volumes: