Rename docker-compose.yml to compose.yaml#378
Open
ivenos wants to merge 1 commit into
Open
Conversation
Aligns the project with the current Compose Specification, which designates compose.yaml as the canonical filename and treats the docker-compose.yml name as a legacy fallback. The top-level version field is also removed: it is declared informational and obsolete by the Compose Spec, and modern Docker engines emit a warning when it is present. All documentation references are updated accordingly. Functional behavior is unchanged — docker compose discovers either filename, so existing deployments are not affected by the rename. Reference: https://docs.docker.com/compose/intro/compose-application-model/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aligns the project with the current Compose Specification:
compose.yamlis the canonical filename;docker-compose.ymlis only a legacy fallback.versionfield is obsolete and triggers a warning on modern Docker engines.Changes
docker-compose.ymltocompose.yaml.version: '3.8'line..dockerignoreentry.No behavior change for users:
docker composefinds either filename, the removedversionwas already ignored.