Remove version from compose files to conform to the specification (#167)

https://github.com/compose-spec/compose-spec/blob/master/spec.md#version-top-level-element

Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
This commit is contained in:
Guillaume Lours 2021-11-04 15:51:58 +01:00 committed by GitHub
parent 0a0a53b7c7
commit 2056ab2f01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 2 additions and 39 deletions

View File

@ -14,7 +14,6 @@ Project structure:
[_docker-compose.yaml_](docker-compose.yaml) [_docker-compose.yaml_](docker-compose.yaml)
``` ```
version: "3.7"
services: services:
web: web:
build: angular build: angular

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
web: web:
build: angular build: angular

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
web: web:
build: app build: app

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
web: web:
build: app/aspnetapp build: app/aspnetapp

View File

@ -1,4 +1,3 @@
version: '3.7'
services: services:
web: web:
build: app build: app

View File

@ -1,5 +1,3 @@
version: '3.8'
services: services:
elasticsearch: elasticsearch:
image: elasticsearch:7.8.0 image: elasticsearch:7.8.0

View File

@ -1,4 +1,3 @@
version: '3'
services: services:
web: web:
build: app build: app

View File

@ -1,4 +1,3 @@
version: '3.7'
services: services:
gitea: gitea:
image: gitea/gitea:latest image: gitea/gitea:latest

View File

@ -1,4 +1,3 @@
version: '3.7'
services: services:
minecraft: minecraft:
image: itzg/minecraft-server image: itzg/minecraft-server

View File

@ -1,4 +1,3 @@
version: '3.7'
services: services:
nc: nc:
image: nextcloud:apache image: nextcloud:apache

View File

@ -1,4 +1,3 @@
version: '3.7'
services: services:
nc: nc:
image: nextcloud:apache image: nextcloud:apache

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
backend: backend:
build: backend build: backend

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
web: web:
image: nginx image: nginx

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
db: db:
image: mysql:8.0.19 image: mysql:8.0.19

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
backend: backend:
build: backend build: backend

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
backend: backend:
build: backend build: backend

View File

@ -16,7 +16,6 @@ Project structure:
[_docker-compose.yaml_](docker-compose.yaml) [_docker-compose.yaml_](docker-compose.yaml)
``` ```
version: "3.7"
services: services:
frontend: frontend:
build: frontend build: frontend

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
frontend: frontend:
build: frontend build: frontend

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
nginx-proxy: nginx-proxy:
build: nginx build: nginx

View File

@ -14,7 +14,6 @@ Project structure:
[_docker-compose.yml_](docker-compose.yml) [_docker-compose.yml_](docker-compose.yml)
``` ```
version: "3.7"
services: services:
prometheus: prometheus:
image: prom/prometheus image: prom/prometheus

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
prometheus: prometheus:
image: prom/prometheus image: prom/prometheus

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
frontend: frontend:
build: frontend build: frontend

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
backend: backend:
build: build:

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
backend: backend:
build: backend build: backend

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
frontend: frontend:
build: build:

View File

@ -16,7 +16,6 @@ Project structure:
[_docker-compose.yaml_](docker-compose.yaml) [_docker-compose.yaml_](docker-compose.yaml)
``` ```
version: "3.7"
services: services:
backend: backend:
build: backend build: backend

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
backend: backend:
build: backend build: backend

View File

@ -13,7 +13,6 @@ Project structure:
[_docker-compose.yaml_](docker-compose.yaml) [_docker-compose.yaml_](docker-compose.yaml)
``` ```
version: "3.7"
services: services:
sparkjava: sparkjava:
build: sparkjava build: sparkjava

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
sparkjava: sparkjava:
build: sparkjava build: sparkjava

View File

@ -16,7 +16,6 @@ Project structure:
[_docker-compose.yaml_](docker-compose.yaml) [_docker-compose.yaml_](docker-compose.yaml)
``` ```
version: "3.7"
services: services:
backend: backend:
build: backend build: backend

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
backend: backend:
build: backend build: backend

View File

@ -13,7 +13,6 @@ Project structure:
[_docker-compose.yaml_](docker-compose.yaml) [_docker-compose.yaml_](docker-compose.yaml)
``` ```
version: "3.7"
services: services:
frontend: frontend:
image: traefik:2.2 image: traefik:2.2

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
frontend: frontend:
image: traefik:2.2 image: traefik:2.2

View File

@ -13,7 +13,6 @@ Project structure:
[_docker-compose.yaml_](docker-compose.yaml) [_docker-compose.yaml_](docker-compose.yaml)
``` ```
version: "3.7"
services: services:
web: web:
build: vuejs build: vuejs

View File

@ -1,4 +1,3 @@
version: "3.7"
services: services:
web: web:
build: vuejs build: vuejs

View File

@ -1,4 +1,3 @@
version: '3.7'
services: services:
db: db:
image: mysql:8.0.19 image: mysql:8.0.19