Skip to content

docs: replace the all docker-compose.yml with compose.yaml #39437

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

Merged
merged 2 commits into from
Jul 24, 2025

Conversation

JamBalaya56562
Copy link
Contributor

Why:

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.

So compose.yaml is preferred to docker-compose.yml.

What's being changed (if available, include any code snippets, screenshots, or gifs):

Update documentation to replace references to docker-compose.yml with compose.yaml for consistency across content.

Documentation:

  • Replace occurrences of docker-compose.yml with compose.yaml in the style guide
  • Update codespaces additional container config documentation to reference compose.yaml instead of docker-compose.yml

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

@github-actions github-actions bot added the triage Do not begin working on this issue until triaged by the team label Jul 22, 2025
Copy link
Contributor

github-actions bot commented Jul 22, 2025

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
contributing/style-guide-and-content-model/style-guide.md fpt
ghec
ghes@ 3.17 3.16 3.15 3.14
fpt
ghec
ghes@ 3.17 3.16 3.15 3.14
codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-dotnet-project-for-codespaces.md fpt
ghec
fpt
ghec
from reusable
codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-java-project-for-codespaces.md fpt
ghec
fpt
ghec
from reusable
codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-nodejs-project-for-codespaces.md fpt
ghec
fpt
ghec
from reusable
codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-php-project-for-codespaces.md fpt
ghec
fpt
ghec
from reusable
codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/setting-up-your-python-project-for-codespaces.md fpt
ghec
fpt
ghec
from reusable

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@Sharra-writes Sharra-writes added content This issue or pull request belongs to the Docs Content team docker Pull requests that update Docker code and removed triage Do not begin working on this issue until triaged by the team labels Jul 23, 2025
@Sharra-writes
Copy link
Contributor

@JamBalaya56562 Thanks for opening a PR! I suspect this change is correct, but I'm going to check to make sure there's not a reason we're still using docker-compose.yml.

@Sharra-writes
Copy link
Contributor

@JamBalaya56562 Got confirmation this is a good change, so I'll get this added to the merge queue shortly!

@Sharra-writes Sharra-writes added this pull request to the merge queue Jul 24, 2025
Merged via the queue into github:main with commit 069f457 Jul 24, 2025
42 checks passed
Copy link
Contributor

Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues

@JamBalaya56562 JamBalaya56562 deleted the compose branch July 25, 2025 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content This issue or pull request belongs to the Docs Content team docker Pull requests that update Docker code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants