- Clone repository
git clone https://github.com/Coderberg/ResidenceCMS.git
cd ResidenceCMS
- Create a
.env.local
file and update theMAILER_DSN
variable to use Mailpit
cp .env .env.local
sed -i 's/MAILER_DSN=.*/MAILER_DSN=smtp:\/\/mailer:1025/' .env.local
- Build and run containers
docker compose build --no-cache
docker compose up --pull always -d --wait
- Install the app
docker compose exec -T php bin/console app:install
docker compose exec -T php bin/phpunit
- Open
https://localhost
in your favorite web browser and accept the auto-generated TLS certificate
Additional services:
- PhpMyAdmin http://localhost:8081
- Mailpit http://localhost:8025
See more detailed documentation here https://github.com/dunglas/symfony-docker