diff --git a/README.md b/README.md index 4293afc2..e78961a6 100644 --- a/README.md +++ b/README.md @@ -2795,8 +2795,6 @@ To do that you will need to set the environment variable `GITLAB_MONITORING_IP_W You can also set your `docker-compose.yml` [healthcheck](https://docs.docker.com/compose/compose-file/compose-file-v2/#healthcheck) configuration to make periodic checks: ```yml -version: '2.3' - services: gitlab: image: sameersbn/gitlab:17.11.3 diff --git a/contrib/docker-swarm/docker-compose.yml b/contrib/docker-swarm/docker-compose.yml index 6ba84278..6fa54771 100644 --- a/contrib/docker-swarm/docker-compose.yml +++ b/contrib/docker-swarm/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.4' - services: redis: restart: always diff --git a/docker-compose.swarm.yml b/docker-compose.swarm.yml index 3a3e8e0e..186a46c6 100644 --- a/docker-compose.swarm.yml +++ b/docker-compose.swarm.yml @@ -1,4 +1,3 @@ -version: '3.4' services: redis: image: redis:6.2 diff --git a/docs/docker-compose-keycloak.yml b/docs/docker-compose-keycloak.yml index b7c9b70b..43daa9b6 100644 --- a/docs/docker-compose-keycloak.yml +++ b/docs/docker-compose-keycloak.yml @@ -1,5 +1,3 @@ -version: '2' - services: redis: restart: always diff --git a/docs/docker-compose-registry.yml b/docs/docker-compose-registry.yml index 26c38f5f..addb5aad 100644 --- a/docs/docker-compose-registry.yml +++ b/docs/docker-compose-registry.yml @@ -1,5 +1,3 @@ -version: '2' - services: redis: restart: always diff --git a/docs/s3_compatible_storage.md b/docs/s3_compatible_storage.md index ed815750..9b9b6fa5 100644 --- a/docs/s3_compatible_storage.md +++ b/docs/s3_compatible_storage.md @@ -67,8 +67,6 @@ Starting a fresh installation with GitLab would be like the `docker-compose` fil This is an example with minio. ```yml -version: '2' - services: redis: restart: always