Run Symfony inside Docker containers. Useful for local development of a Symfony project.
- Copy
.env.sample
to.env
- Provide a value for
VOLUME_APACHE
andVOLUME_DB
in.env
.VOLUME_APACHE
is the path to your Symfony project. - Run
docker compose up --build
- The Symfony application should be available at http://localhost:8089 and the Adminer database browser at http://localhost:8087