Upgrade the Compose file format version to 3.5

This commit is contained in:
小克 2020-12-03 16:11:35 +08:00
parent 872c2b9eb1
commit 2f575017e4
No known key found for this signature in database
GPG Key ID: 67327CD9A5464330
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
version: '3' version: '3.5'
services: services:

View File

@ -1,4 +1,4 @@
version: '3' version: '3.5'
networks: networks:
frontend: frontend:
@ -848,11 +848,11 @@ services:
### MeiliSearch ########################################## ### MeiliSearch ##########################################
meilisearch: meilisearch:
image: getmeili/meilisearch:latest image: getmeili/meilisearch:latest
volumes: volumes:
- ${DATA_PATH_HOST}/meilisearch:/var/lib/meilisearch - ${DATA_PATH_HOST}/meilisearch:/var/lib/meilisearch
ports: ports:
- "${MEILISEARCH_HOST_PORT}:7700" - "${MEILISEARCH_HOST_PORT}:7700"
networks: networks:
- frontend - frontend
- backend - backend
@ -1371,7 +1371,7 @@ services:
docker-in-docker: docker-in-docker:
image: docker:19.03-dind image: docker:19.03-dind
environment: environment:
DOCKER_TLS_SAN: DNS:docker-in-docker DOCKER_TLS_SAN: DNS:docker-in-docker
privileged: true privileged: true
volumes: volumes:
- ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER} - ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}