Skip to content

chore: replace the all docker-compose.yml with compose.yaml #1268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Marukome0743
Copy link
Contributor

Description

There are some docker-compose.yml files.

However, according to official manuals,

The default path for a Compose file is compose.yaml (preferred) or compose.yml that is placed in the working directory. Compose also supports docker-compose.yaml and docker-compose.yml for backwards compatibility of earlier versions. If both files exist, Compose prefers the canonical compose.yaml.

Therefore, it's good to use compose.yaml instead of docker-compose.yml.

@almereyda
Copy link

Can we go for compose.yml, which is shorter and sits more lightly reachable on the keyboard?

Moving the left most finger from y to a on regular layouts is a more complicated move than just tapping y m and l.

It would also show some continuity with the original intent of amending the .yml suffix to docker-compose.

@almereyda
Copy link

To the maintainers: I'm giving my support for this trivial change.

Indeed still I'd like to see us land on compose.yml as the filename convention.

@Marukome0743 Marukome0743 force-pushed the compose.yaml branch 2 times, most recently from 8ad4e63 to e81cb64 Compare April 18, 2025 00:55
@Marukome0743 Marukome0743 force-pushed the compose.yaml branch 4 times, most recently from e9a9ffe to 1f43886 Compare May 14, 2025 01:00
@Marukome0743 Marukome0743 force-pushed the compose.yaml branch 5 times, most recently from 5e16525 to 8fe94f3 Compare May 30, 2025 00:33
@Marukome0743 Marukome0743 force-pushed the compose.yaml branch 5 times, most recently from 3d9ad7f to 41964a1 Compare June 8, 2025 12:02
@Marukome0743 Marukome0743 force-pushed the compose.yaml branch 6 times, most recently from daa4323 to f6f0451 Compare June 16, 2025 02:41
@Marukome0743 Marukome0743 force-pushed the compose.yaml branch 3 times, most recently from 085489b to fc40919 Compare June 23, 2025 00:12
@Marukome0743 Marukome0743 force-pushed the compose.yaml branch 4 times, most recently from 7058706 to 555461c Compare June 30, 2025 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants