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)
```
version: "3.7"
services:
web:
build: angular

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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