From 891fc67e12b88f54893446094a78de75843ed3b6 Mon Sep 17 00:00:00 2001 From: Tim McCormack Date: Thu, 1 Aug 2024 15:49:07 +0000 Subject: [PATCH] feat: Remove deprecated `version` field from docker-compose files https://github.com/compose-spec/compose-spec/blob/main/spec.md#version-top-level-element-obsolete --- docker-compose-host.yml | 3 --- docker-compose-themes.yml | 2 -- docker-compose-watchers.yml | 2 -- docker-compose.yml | 2 -- 4 files changed, 9 deletions(-) diff --git a/docker-compose-host.yml b/docker-compose-host.yml index 2f532d505d..1a74131734 100644 --- a/docker-compose-host.yml +++ b/docker-compose-host.yml @@ -1,6 +1,3 @@ - -version: "2.1" - services: credentials: volumes: diff --git a/docker-compose-themes.yml b/docker-compose-themes.yml index b377f45c40..f2d67d14e5 100644 --- a/docker-compose-themes.yml +++ b/docker-compose-themes.yml @@ -1,5 +1,3 @@ -version: "2.1" - services: discovery: volumes: diff --git a/docker-compose-watchers.yml b/docker-compose-watchers.yml index 2b8954afb7..12d17b2f96 100644 --- a/docker-compose-watchers.yml +++ b/docker-compose-watchers.yml @@ -1,5 +1,3 @@ -version: "2.1" - services: lms_watcher: command: bash -c 'cd /edx/app/edxapp/edx-platform && source ../edxapp_env && while true; do paver watch_assets --w=$$ASSET_WATCHER_TIMEOUT; sleep 2; done' diff --git a/docker-compose.yml b/docker-compose.yml index 039dff2171..550ab9f321 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,8 +8,6 @@ # - Every service's container name should be prefixed with "edx.devstack." to avoid conflicts with other containers # that might be running for the same service. -version: "2.1" - services: # ================================================