From 574d43a7ba6c0cf70bf4aa0468af3c6a44180b14 Mon Sep 17 00:00:00 2001 From: Niko Kurtti Date: Fri, 5 Jul 2024 15:34:44 +0300 Subject: [PATCH] Remove deprecated version from compose files --- docker-compose.yml | 3 --- infrastructure/docker-compose.deploy.yml | 2 -- infrastructure/docker-compose.development-deploy.yml | 2 -- infrastructure/docker-compose.production-deploy.yml | 2 -- infrastructure/docker-compose.qa-deploy.yml | 2 -- infrastructure/docker-compose.staging-deploy.yml | 2 -- 6 files changed, 13 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3274fbcca..f7025fcab 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,10 +6,7 @@ # & Healthcare Disclaimer located at http://opencrvs.org/license. # # Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS. -version: "3.3" - services: - countryconfig: image: ${DOCKERHUB_ACCOUNT}/${DOCKERHUB_REPO}:${COUNTRY_CONFIG_VERSION} build: . diff --git a/infrastructure/docker-compose.deploy.yml b/infrastructure/docker-compose.deploy.yml index 6ffd83733..8e51f6d5d 100644 --- a/infrastructure/docker-compose.deploy.yml +++ b/infrastructure/docker-compose.deploy.yml @@ -6,8 +6,6 @@ # & Healthcare Disclaimer located at http://opencrvs.org/license. # # Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS. -version: '3.3' - services: # Configure reverse proxy for public endpoints # Note: these published port will override UFW rules as Docker manages it's own iptables diff --git a/infrastructure/docker-compose.development-deploy.yml b/infrastructure/docker-compose.development-deploy.yml index 276f4f8c5..27f337f4e 100644 --- a/infrastructure/docker-compose.development-deploy.yml +++ b/infrastructure/docker-compose.development-deploy.yml @@ -1,5 +1,3 @@ -version: '3.3' - services: notification: environment: diff --git a/infrastructure/docker-compose.production-deploy.yml b/infrastructure/docker-compose.production-deploy.yml index 0e9130b2a..e094eb3fe 100644 --- a/infrastructure/docker-compose.production-deploy.yml +++ b/infrastructure/docker-compose.production-deploy.yml @@ -1,5 +1,3 @@ -version: '3.3' - # # Production deployments of OpenCRVS should never be exposed to the internet. # Instead, they should be deployed on a private network and exposed to the internet via a VPN. diff --git a/infrastructure/docker-compose.qa-deploy.yml b/infrastructure/docker-compose.qa-deploy.yml index 541ceb731..0355e64e1 100644 --- a/infrastructure/docker-compose.qa-deploy.yml +++ b/infrastructure/docker-compose.qa-deploy.yml @@ -1,5 +1,3 @@ -version: '3.3' - services: traefik: networks: diff --git a/infrastructure/docker-compose.staging-deploy.yml b/infrastructure/docker-compose.staging-deploy.yml index f108abf50..3a6ac3bf5 100644 --- a/infrastructure/docker-compose.staging-deploy.yml +++ b/infrastructure/docker-compose.staging-deploy.yml @@ -1,5 +1,3 @@ -version: '3.3' - # # Production deployments of OpenCRVS should never be exposed to the internet. # Instead, they should be deployed on a private network and exposed to the internet via a VPN.