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>
master
Guillaume Lours 3 years ago committed by GitHub
parent 0a0a53b7c7
commit 2056ab2f01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save