Consider renaming local.yml to docker-compose.yml
See original GitHub issueBased on an internal discussion, consider renaming local.yml
to docker-compose.yml
.
Pro
- Easier for new users.
docker-compose up
simply works, no need to set the file explicitly - Easier on the hand, Docker commands are shorter
- Internal consistency. Running the Django CLI with vanilla Python starts the project with the local settings.
Con
- Explicit is better than implicit. Running a
docker-compose
command on a production machine starts starts the dev configuration.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:5 (3 by maintainers)
Top Results From Across the Web
docker-compose.yml file naming convention [closed]
If both files are present on the same directory level, Compose combines the two files into a single configuration.
Read more >Overview of docker compose CLI
For example, consider this command line: $ docker compose -f docker-compose.yml -f ... The docker-compose.yml file might specify a webapp service.
Read more >Consider to rename docker-compose files · Issue #69
I would propose to rename them as follows: docker-compose.yml; docker-compose.images.yml; docker-compose.logging.yml.
Read more >You can not edit docker-compose.yaml after renaming docker ...
You can not edit docker-compose.yaml after renaming docker-compose project to different name (eg: Compose).
Read more >Installing and Using Docker Compose
On This Page ; Install Docker Compose environment: COMPOSE_VERSION ; Build images of services declared in docker-compose.yml command: ; Start all services declared ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jayfk I’m -1 on this, you know that 😃
+1 for explicit