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

This reverts commit 2056ab2f01.
This commit is contained in:
Jon Maj 2021-11-28 23:56:37 +01:00
parent 93f8f18f64
commit 5accf6af0e
36 changed files with 39 additions and 2 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,4 @@
version: "3.7"
services:
db:
# We use a mariadb image which supports both amd64 & arm64 architecture

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,4 @@
version: '3.7'
services:
db:
# We use a mariadb image which supports both amd64 & arm64 architecture