Skip to content

Commit

Permalink
Docker: version is obsolete. (#2220)
Browse files Browse the repository at this point in the history
The top-level 'version' property is deprecated and can be omitted to
prevent warnings.
  • Loading branch information
davidbgk authored Oct 17, 2024
2 parents 0b23f1a + 39cb9cb commit 2642688
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion docs/deploy/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2642688

Please sign in to comment.