Unverified Commit 2056ab2f authored by Guillaume Lours's avatar Guillaume Lours Committed by GitHub
Browse files

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: default avatarGuillaume Lours <guillaume.lours@docker.com>
parent 0a0a53b7
......@@ -14,7 +14,6 @@ Project structure:
[_docker-compose.yaml_](docker-compose.yaml)
```
version: "3.7"
services:
web:
build: angular
......
version: "3.7"
services:
web:
build: angular
......
version: "3.7"
services:
web:
build: app
......
version: "3.7"
services:
web:
build: app/aspnetapp
......
version: '3.7'
services:
services:
web:
build: app
ports:
......
version: '3.8'
services:
elasticsearch:
image: elasticsearch:7.8.0
......
version: '3'
services:
services:
web:
build: app
ports:
......
version: '3.7'
services:
gitea:
image: gitea/gitea:latest
......
version: '3.7'
services:
minecraft:
image: itzg/minecraft-server
......
version: '3.7'
services:
nc:
image: nextcloud:apache
......
version: '3.7'
services:
nc:
image: nextcloud:apache
......
version: "3.7"
services:
backend:
build: backend
......
version: "3.7"
services:
web:
image: nginx
......
version: "3.7"
services:
db:
image: mysql:8.0.19
......
version: "3.7"
services:
backend:
build: backend
......
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
......
version: "3.7"
services:
frontend:
build: frontend
......
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment