Generate starter config files for common stacks.
docker compose up -d --build docker compose exec app composer install docker compose exec app php artisan migrate # If Laravel cannot write to storage: docker compose exec app chown -R www-data:www-data storage bootstrap/cache
Passwords and keys are random and made in your browser. Keep .env out of Git and commit .env.example instead.
Pick a stack and the services you need, such as a database or cache.
Review the generated .env and docker compose files.
Copy or download them and change the placeholder values.
Most projects start with the same config files: an .env for settings and secrets, and a docker compose file to run the services. Writing them from scratch is slow and easy to get wrong.
Choose your stack and get a clean starting point with sensible defaults. Generate your own passwords and keys before you use them. Nothing is sent anywhere.