#144The attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion

WilliamFernsV3WilliamFernsV3
opened 10 months ago
Author

Describe the issue

Running "docker compose up" on a clean Vapor project or any other compose command results in the warning: "The attribute version is obsolete.".

Vapor version

4.106.3

Operating system and version

macOS 15.1.1 24B91 arm64

Swift version

Swift Package Manager - Swift 6.0.2-dev

Steps to reproduce

No response

Outcome

Solution: remove the following line from the docker-compose.yml file when initializing a new Vapor project with vapor new hello:

version: '3.7'

Additional notes

No response