From 39cb9cbed09765ed170bbee60c7d88ce2ab010bd Mon Sep 17 00:00:00 2001 From: L Date: Thu, 17 Oct 2024 08:42:51 +1000 Subject: [PATCH] `version` is obsolete. The top-level 'version' property is deprecated. --- docker-compose.yml | 6 ++---- docs/deploy/docker.md | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index e77ad38d0..eae9d801c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,9 @@ -version: '3' - services: db: healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres"] - interval: 2s + test: [ "CMD-SHELL", "pg_isready -U postgres" ] + interval: 2s image: postgis/postgis:14-3.3-alpine environment: - POSTGRES_HOST_AUTH_METHOD=trust diff --git a/docs/deploy/docker.md b/docs/deploy/docker.md index e0291e204..7d99e80c4 100644 --- a/docs/deploy/docker.md +++ b/docs/deploy/docker.md @@ -3,7 +3,6 @@ An official uMap docker image is [available on the docker hub](https://hub.docker.com/r/umap/umap). But, if you prefer to run it with docker compose, here is the configuration file: ```yaml title="docker-compose.yml" -version: '3' services: db: # check https://hub.docker.com/r/postgis/postgis to see available versions