nginx-ui
nginx-ui copied to clipboard
chore: Remove version property from docker-compose.yml
📦 Remove version property from docker-compose.yml
Motivation:
The version property in docker-compose.yml is now redundant in modern Docker Compose. The tool automatically uses the latest supported schema based on the [Compose Specification](https://docs.docker.com/compose/compose-file/), making it unnecessary to explicitly declare a version.
References:
- [Compose file versions and upgrading](https://docs.docker.com/compose/compose-file/legacy/)
- [Compose Specification](https://docs.docker.com/compose/compose-file/)
Benefits of this change:
- Cleaner and more concise configuration
- Aligns with current best practices
- Avoids confusion over versioning
- Ensures better compatibility with future Compose CLI updates