Repository files navigation
git clone git@github.com:thilinah/jobboard.git
composer install
During parameter file update make sure to use dh Host = db
Update .env file -> SYMFONY_APP_PATH with path to your project
Update .env file -> MYSQL configuration to match app/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 --force
docker exec jobboard_php_1 php bin/console doctrine:schema:create
docker 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.yml nginx port mapping
Docker mysql db can be accessed via localhost port 3307 if required
You can’t perform that action at this time.