From 2f575017e440a336e4a02d346d86ed6d16898ee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=85=8B?= Date: Thu, 3 Dec 2020 16:11:35 +0800 Subject: [PATCH] Upgrade the Compose file format version to 3.5 --- docker-compose.sync.yml | 2 +- docker-compose.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.sync.yml b/docker-compose.sync.yml index 4536f3c..c376c35 100644 --- a/docker-compose.sync.yml +++ b/docker-compose.sync.yml @@ -1,4 +1,4 @@ -version: '3' +version: '3.5' services: diff --git a/docker-compose.yml b/docker-compose.yml index eabce3e..abc955f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3' +version: '3.5' networks: frontend: @@ -848,11 +848,11 @@ services: ### MeiliSearch ########################################## meilisearch: image: getmeili/meilisearch:latest - volumes: + volumes: - ${DATA_PATH_HOST}/meilisearch:/var/lib/meilisearch - ports: + ports: - "${MEILISEARCH_HOST_PORT}:7700" - networks: + networks: - frontend - backend @@ -1371,7 +1371,7 @@ services: docker-in-docker: image: docker:19.03-dind environment: - DOCKER_TLS_SAN: DNS:docker-in-docker + DOCKER_TLS_SAN: DNS:docker-in-docker privileged: true volumes: - ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}