diff --git a/docker-compose.yml b/docker-compose.yml index e77ad38d..eae9d801 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 e0291e20..7d99e80c 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