From 91ebd467e295f1bac03655b8a46f7d59cb7a2532 Mon Sep 17 00:00:00 2001 From: Adrien Beaudouin Date: Tue, 23 Aug 2022 19:07:47 +0200 Subject: [PATCH] fix docker compose version --- .../index.md | 8 ++++---- .../index.md | 10 +++++----- .../index.md | 4 ++-- .../index.md | 4 ++-- .../index.md | 8 ++++---- .../index.md | 10 +++++----- 6 files changed, 22 insertions(+), 22 deletions(-) diff --git a/content/posts/04-build-your-own-docker-swarm-cluster-part-3/index.md b/content/posts/04-build-your-own-docker-swarm-cluster-part-3/index.md index c0c7c93..44e2f0b 100644 --- a/content/posts/04-build-your-own-docker-swarm-cluster-part-3/index.md +++ b/content/posts/04-build-your-own-docker-swarm-cluster-part-3/index.md @@ -190,7 +190,7 @@ In order to deploy Traefik on our shiny new Docker Swarm, we must write a Docker {{< highlight host="manager-01" file="~/traefik-stack.yml" >}} ```yml -version: '3' +version: '3.8' services: traefik: @@ -320,7 +320,7 @@ Create `portainer-agent-stack.yml` swarm stack file with follogin content : {{< highlight host="manager-01" file="~/portainer-agent-stack.yml" >}} ```yml -version: '3' +version: '3.8' services: agent: @@ -420,7 +420,7 @@ Create the next stack through Portainer : {{< highlight host="stack" file="maintenance" >}} ```yml -version: '3' +version: '3.8' services: diun: @@ -544,7 +544,7 @@ Do `sudo /mnt/storage-pool/minio` on `manager-01` and create following stack : {{< highlight host="stack" file="minio" >}} ```yml -version: '3' +version: '3.8' services: app: diff --git a/content/posts/05-build-your-own-docker-swarm-cluster-part-4/index.md b/content/posts/05-build-your-own-docker-swarm-cluster-part-4/index.md index 1cba4dc..83830c7 100644 --- a/content/posts/05-build-your-own-docker-swarm-cluster-part-4/index.md +++ b/content/posts/05-build-your-own-docker-swarm-cluster-part-4/index.md @@ -76,7 +76,7 @@ Create next stack : {{< highlight host="stack" file="phpmyadmin" >}} ```yml -version: '3' +version: '3.8' services: app: @@ -204,7 +204,7 @@ Finally, create next stack : {{< highlight host="stack" file="pgadmin" >}} ```yml -version: '3' +version: '3.8' services: app: @@ -265,7 +265,7 @@ Then create following stack : {{< highlight host="stack" file="matomo" >}} ```yml -version: '3' +version: '3.8' services: app: @@ -406,7 +406,7 @@ Next create new following stack : {{< highlight host="stack" file="redmine" >}} ```yml -version: '3' +version: '3.8' services: app: @@ -466,7 +466,7 @@ Create storage folder with `sudo mkdir /mnt/storage-pool/n8n` and create new fol {{< highlight host="stack" file="n8n" >}} ```yml -version: '3' +version: '3.8' services: app: diff --git a/content/posts/06-build-your-own-docker-swarm-cluster-part-5/index.md b/content/posts/06-build-your-own-docker-swarm-cluster-part-5/index.md index 3503a80..3e80623 100644 --- a/content/posts/06-build-your-own-docker-swarm-cluster-part-5/index.md +++ b/content/posts/06-build-your-own-docker-swarm-cluster-part-5/index.md @@ -65,7 +65,7 @@ Finally create next stack in Portainer : {{< highlight host="stack" file="prometheus" >}} ```yml -version: '3' +version: '3.8' services: @@ -302,7 +302,7 @@ Next create new following stack : {{< highlight host="stack" file="grafana" >}} ```yml -version: '3' +version: '3.8' services: grafana: diff --git a/content/posts/07-build-your-own-docker-swarm-cluster-part-6/index.md b/content/posts/07-build-your-own-docker-swarm-cluster-part-6/index.md index 45d9783..36a8270 100644 --- a/content/posts/07-build-your-own-docker-swarm-cluster-part-6/index.md +++ b/content/posts/07-build-your-own-docker-swarm-cluster-part-6/index.md @@ -334,7 +334,7 @@ It's just a new `jaeger` docker stack to deploy : {{< highlight host="stack" file="jaeger" >}} ```yml -version: '3' +version: '3.8' services: collector: @@ -418,7 +418,7 @@ Then edit original Traefik stack file and add `traefik` service into `jaeger` ne {{< highlight host="manager-01" file="~/traefik-stack.yml" >}} ```yml -version: '3' +version: '3.8' services: traefik: diff --git a/content/posts/08-build-your-own-docker-swarm-cluster-part-7/index.md b/content/posts/08-build-your-own-docker-swarm-cluster-part-7/index.md index affa9ee..fce89f2 100644 --- a/content/posts/08-build-your-own-docker-swarm-cluster-part-7/index.md +++ b/content/posts/08-build-your-own-docker-swarm-cluster-part-7/index.md @@ -30,7 +30,7 @@ Do `sudo mkdir /mnt/storage-pool/gitea` and create next stack : {{< highlight host="stack" file="gitea" >}} ```yml -version: '3' +version: '3.8' services: gitea: @@ -90,7 +90,7 @@ We'll use the official docker registry with addition of nice simple UI for image {{< highlight host="stack" file="registry" >}} ```yml -version: '3' +version: '3.8' services: app: @@ -229,7 +229,7 @@ Save and keep the client and secret tokens. Then create a new `drone` PostgreSQL {{< highlight host="stack" file="drone" >}} ```yml -version: '3' +version: '3.8' services: drone: @@ -440,7 +440,7 @@ Our application is now ready for production deployment ! Let's create our new sh {{< highlight host="stack" file="weather" >}} ```yml -version: '3' +version: '3.8' services: app: diff --git a/content/posts/09-build-your-own-docker-swarm-cluster-part-8/index.md b/content/posts/09-build-your-own-docker-swarm-cluster-part-8/index.md index daa3e8e..2b75530 100644 --- a/content/posts/09-build-your-own-docker-swarm-cluster-part-8/index.md +++ b/content/posts/09-build-your-own-docker-swarm-cluster-part-8/index.md @@ -58,7 +58,7 @@ Then edit the `weather` docker stack and configure Jaeger connection. {{< highlight host="stack" file="weather" >}} ```yml -version: '3' +version: '3.8' services: app: @@ -113,7 +113,7 @@ Create a `sonar` PostgresSQL database, and create next stack : {{< highlight host="stack" file="sonar" >}} ```yml -version: '3' +version: '3.8' services: server: @@ -227,7 +227,7 @@ Create a new influxdb stack : {{< highlight host="stack" file="influxdb" >}} ```yml -version: '3' +version: '3.8' services: db: @@ -259,7 +259,7 @@ Add InfluxDB private network to Grafana stack : {{< highlight host="stack" file="grafana" >}} ```yml -version: '3' +version: '3.8' services: grafana: @@ -302,7 +302,7 @@ Then create the following stack : {{< highlight host="stack" file="k6" >}} ```yml -version: '3' +version: '3.8' services: load: