- If not already done, install Docker Compose (v2.10+)
- Run
docker compose build --pull --no-cacheto build fresh images - Run
docker compose up --waitto set up and start a fresh Symfony project - Open
https://localhostin your favorite web browser and accept the auto-generated TLS certificate - Run
docker compose down --remove-orphansto stop the Docker containers.
https://github.com/dunglas/symfony-docker
- Access db in database docker container: psql -U POSTGRES_USER -d POSTGRES_DB (replace with your user and db)