A docker compose setup for local development.
- Run
setup.sh
to create a.env
file docker compose run php create-project laravel/laravel .
docker compose up -d
docker compose exec php bash
php artisan show
DB
DB_CONNECTION=pgsql
DB_HOST=db
DB_PORT=5432
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=laravel
Redis
REDIS_CLIENT=phpredis
REDIS_HOST=redis
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=smtp
MAIL_HOST=mail
MAIL_PORT=1025