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) [_docker-compose.yaml_](docker-compose.yaml)
``` ```
version: "3.7"
services: services:
web: web:
build: angular build: angular

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -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

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

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

@ -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

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

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

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

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

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

@ -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

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

@ -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

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

@ -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

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

@ -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

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

@ -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

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

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

Loading…
Cancel
Save