Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Docker
technicpack/solder
cursor
api
technic
solder

This project ships two separate Compose stacks. They are NOT layered; each runs on its own.

Install
php artisan boost:add-skill technicpack/solder

Save this content to: .cursor/rules/docker.md

# Docker

This project ships two separate Compose stacks. They are NOT layered; each runs on its own.

- Development: `compose.dev.yml` (PostgreSQL). The standalone stack for all local work.
- Production: `compose.yml` (MariaDB). The shipped self-host stack; not for development.

## Development workflow

- Start: `docker compose -f compose.dev.yml up -d`
- Stop: `docker compose -f compose.dev.yml down`
- Run commands: `docker compose -f compose.dev.yml exec -T solder <cmd>` works once the stack is up.

## Never do this

- Never run `docker compose up` with no `-f`. That starts the production MariaDB stack.
- Never merge the two files (`-f compose.yml -f compose.dev.yml`). The merge pulls MariaDB and
  the production env-injection block into dev, which: crashes the app (pgsql driver hitting
  MariaDB), runs two databases at once, and breaks test isolation (tests hit PostgreSQL instead
  of stock sqlite; CSRF and config defaults misbehave).
- The dev `solder` service injects no env vars by design; it reads the mounted `.env`, and tests
  use stock `phpunit.xml` plus `.env.testing` (sqlite). Do not add an `environment:` block to it.

Docker

This project ships two separate Compose stacks. They are NOT layered; each runs on its own.

  • Development: compose.dev.yml (PostgreSQL). The standalone stack for all local work.
  • Production: compose.yml (MariaDB). The shipped self-host stack; not for development.

Development workflow

  • Start: docker compose -f compose.dev.yml up -d
  • Stop: docker compose -f compose.dev.yml down
  • Run commands: docker compose -f compose.dev.yml exec -T solder <cmd> works once the stack is up.

Never do this

  • Never run docker compose up with no -f. That starts the production MariaDB stack.
  • Never merge the two files (-f compose.yml -f compose.dev.yml). The merge pulls MariaDB and the production env-injection block into dev, which: crashes the app (pgsql driver hitting MariaDB), runs two databases at once, and breaks test isolation (tests hit PostgreSQL instead of stock sqlite; CSRF and config defaults misbehave).
  • The dev solder service injects no env vars by design; it reads the mounted .env, and tests use stock phpunit.xml plus .env.testing (sqlite). Do not add an environment: block to it.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console