git clone git@github.com:thilinah/jobboard.gitcomposer install- During parameter file update make sure to use dh Host = db
- Update
.envfile ->SYMFONY_APP_PATHwith path to your project - Update
.envfile -> MYSQL configuration to matchapp/config/parameters.yml docker-compose up -d --build
- Find the docker container name for php-fpm
docker ps - Usually this should be
jobboard_php_1 - Any symfony console command can be runs as
docker exec jobboard_php_1 php bin/console <command>
docker exec jobboard_php_1 php bin/console doctrine:schema:drop --forcedocker exec jobboard_php_1 php bin/console doctrine:schema:createdocker exec jobboard_php_1 php bin/console doctrine:schema:update --force
- You can access the app via
localhost - If the port 80 is already occupied change it via
docker-compose.ymlnginx port mapping - Docker mysql db can be accessed via localhost port 3307 if required