make create symfony
And change DOCUMENT_ROOT
and DOCUMENT_ROOT
in etc/environment*.yml
:
DOCUMENT_ROOT=/app/web/
DOCUMENT_INDEX=app_dev.php
You can run one-shot command inside the main
service container:
docker-compose run --rm app php /app/console
docker-compose run --rm app bash
Webserver is available at Port 8000