Running SYMFONY

March 3, 2016 ยท View on GitHub

<-- Back to main section

Running SYMFONY

Create SYMFONY project

make create symfony

And change DOCUMENT_ROOT and DOCUMENT_ROOT in etc/environment*.yml:

DOCUMENT_ROOT=/app/web/
DOCUMENT_INDEX=app_dev.php

SYMFONY cli runner

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

Contents

  1. 1Create SYMFONY project
  2. 2SYMFONY cli runner