question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider renaming local.yml to docker-compose.yml

See original GitHub issue

Based 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:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
webynetercommented, Mar 6, 2018

@jayfk I’m -1 on this, you know that 😃

0reactions
sfdyecommented, Mar 20, 2018

+1 for explicit

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found