Skip to content

Commit

Permalink
chore: Omit obsolete version in compose.yaml
Browse files Browse the repository at this point in the history
Originally, the version property was used to specify the schema version of the
Compose file. This was helpful for backward compatibility.
However, Docker Compose has evolved, and it now uses the latest Compose
Specification by default. This means that specifying a version is redundant
and can even lead to warnings.
  • Loading branch information
AiyionPrime committed Jan 5, 2025
1 parent a989866 commit e8e4c8e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
web:
build: .
Expand Down

0 comments on commit e8e4c8e

Please sign in to comment.