Skip to content

chore: rename docker compose files to modern convention#160

Merged
ManukMinasyan merged 1 commit intomainfrom
chore/rename-docker-compose-files
Feb 25, 2026
Merged

chore: rename docker compose files to modern convention#160
ManukMinasyan merged 1 commit intomainfrom
chore/rename-docker-compose-files

Conversation

@ManukMinasyan
Copy link
Copy Markdown
Contributor

Production config becomes the default compose.yml so deployers no longer need to copy files. Dev config moves to compose.dev.yml with SAIL_FILES env var for explicit Sail usage.

Production config becomes the default compose.yml so deployers
no longer need to copy files. Dev config moves to compose.dev.yml
with SAIL_FILES env var for explicit Sail usage.
Copilot AI review requested due to automatic review settings February 25, 2026 07:17
@ManukMinasyan ManukMinasyan merged commit 57a2b2f into main Feb 25, 2026
12 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes Docker Compose naming so production runs from the default compose.yml, while development/Sail uses compose.dev.yml, reducing deployment steps and aligning with current Compose conventions.

Changes:

  • Add compose.yml as the production Docker Compose file (app + horizon + scheduler + postgres + redis).
  • Add compose.dev.yml for Laravel Sail development.
  • Update docs/templates and config to reference the new filenames (README, developer guide, issue template, .dockerignore, .editorconfig, .env.example).

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
compose.yml Introduces production default Compose configuration.
compose.dev.yml Adds Sail-oriented development Compose configuration.
app-modules/Documentation/resources/markdown/developer-guide.md Removes the “copy prod compose file” step since prod is now default.
README.md Updates production Docker reference to compose.yml.
.github/ISSUE_TEMPLATE/1-bug_report.yml Updates Docker option label to compose.yml.
.env.example Adds SAIL_FILES=compose.dev.yml for Sail selection.
.editorconfig Updates compose-specific indentation section to match new filenames.
.dockerignore Updates ignored compose file to the new dev filename.
Comments suppressed due to low confidence (2)

.editorconfig:19

  • .editorconfig sets indent_size = 4 for both compose.yml and compose.dev.yml, but compose.yml in this PR is consistently indented with 2 spaces (and the repo default for *.yml is 2). Consider scoping the 4-space override to compose.dev.yml only (or reformat compose.yml to 4) to avoid editors auto-reformatting the production file back and forth.
[compose.{yml,dev.yml}]
indent_size = 4

.env.example:10

  • Setting SAIL_FILES=compose.dev.yml in .env.example makes Sail commands pick up the dev compose file by default, but the rest of .env.example is not Sail/container-friendly (e.g. DB_HOST=127.0.0.1, REDIS_HOST=127.0.0.1 later in the file, while the compose file expects pgsql/redis service hostnames). Either remove SAIL_FILES from the default .env.example, or also adjust the default DB/Redis host values to work when running inside Sail.
# Laravel Sail Configuration
SAIL_FILES=compose.dev.yml

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