Skip to content
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

GH-535: [Dev] Use compose.yaml not docker-compose.yml #536

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

kou
Copy link
Member

@kou kou commented Jan 20, 2025

Fixes GH-535.

Because Docker Compose recommends compose.yaml:

https://docs.docker.com/compose/intro/compose-application-model/#the-compose-file

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.

Fixes apacheGH-535.

Because Docker Compose recommends `compose.yaml`:

https://docs.docker.com/compose/intro/compose-application-model/#the-compose-file

> 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.
@kou kou merged commit b32b0c0 into apache:main Jan 20, 2025
23 checks passed
@kou kou deleted the compose-yaml branch January 20, 2025 02:39
@lidavidm lidavidm added this to the 18.2.0 milestone Jan 30, 2025
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.

[Dev] Use compose.yaml not docker-compose.yml
2 participants