Remove version attribute in docker-compose

Using a recent version of Docker Compose, we were getting a warning:

```
docker-compose.yml: the attribute `version` is obsolete, it will be
ignored, please remove it to avoid potential confusion
```

This attribute is obsolete since Docker Compose 1.27, released in 2020,
so most developers won't be affected by this change. Developers using
really old versions of Docker Compose might have to upgrade their Docker
Compose.
This commit is contained in:
Javi Martín
2024-09-16 16:11:58 +02:00
parent 9a17fe740c
commit 4a1615accb

View File

@@ -1,4 +1,3 @@
version: "3"
services: services:
# service configuration for our database # service configuration for our database
database: database: