Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 904 Bytes

docker.md

File metadata and controls

36 lines (27 loc) · 904 Bytes

How to run Residence CMS in Docker Containers

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

Additional services:

See more detailed documentation here https://github.com/dunglas/symfony-docker