Skip to content

docs: add docker contributor setup - #396

Merged
roble merged 1 commit into
mainfrom
docs/docker-contributor-setup
Oct 19, 2026
Merged

roble merged 1 commit into
mainfrom
docs/docker-contributor-setup

Conversation

@roble

@roble roble commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Problem

CONTRIBUTING had no working Docker setup (the old steps assumed a compose file main doesn't have).

Solution

  • New Docker section: saucebase docker:publish --ssl=no, .env DB values, compose up, setup via docker compose exec app, port overrides.
  • Documents the traps found while testing:
    • Container env from compose overrides .env → recreate containers after key:generate (otherwise 500 "No application encryption key").
    • boost:install inside the container detects no agents → run it interactively, or boost:update fails on every composer require.
    • Dev SSR doesn't run (container can't reach host Vite); pages render client-side.
    • Tests must run on the host: the container's DB_CONNECTION=mysql overrides phpunit.xml, so RefreshDatabase wipes the app database (reproduced).
  • .gitignore: add /docker-compose.yml (published file showed as untracked; /docker/ was already ignored).

Checks

Fresh clone of main in Docker (ports moved off Herd/shared services):

  • / 200; auth module per its README; sign-in → /dashboard 200; auth:make-admin → /admin 200.
  • Host: php artisan test 217 passed, Modules suite 192 passed, npm run test:e2e 72 passed / 1 skipped against the container.
  • composer analyse OK.
  • Not run: interactive boost:install in the container.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 58b22022-4578-46e1-ae05-91253881662e
📥 Commits

Reviewing files that changed from the base of the PR and between 98af81f and 57b6295.

📒 Files selected for processing: 2
  • .gitignore
  • CONTRIBUTING.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@roble
roble merged commit 91a8d7e into main Oct 19, 2026
13 checks passed
@roble
roble deleted the docs/docker-contributor-setup branch October 22, 2026 19:00
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.

1 participant