Docker: version is obsolete. (#2220)

The top-level 'version' property is deprecated and can be omitted to
prevent warnings.
This commit is contained in:
David Larlet 2024-10-16 22:41:47 -04:00 committed by GitHub
commit 2642688764
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View file

@ -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

View file

@ -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