Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Symfony is used by thousands of web applications and most of the popular PHP projects.
Terminal
docker-compose build
docker-compose up -d
or alternatively Run the following command if errors occurs
docker-compose -f "docker-compose.yml" up -d --build
Terminal
docker exec -it www_docker_symfony bash
cd project
Open project on browser http://localhost:8741
Terminal
composer install
It's already Configure but you can Configure your own
Terminal
DATABASE_URL="mysql://root:@db_docker_symfony/db_kritek_test?serverVersion=5.7&charset=utf8mb4
Terminal
php bin/console doctrine:database:create
Terminal
php bin/console doctrine:migrations:migrate
That's it !!!!๐ฅ๐ฅ๐ฅ Enjoy it!!!!๐ฅ๐ฅ๐ฅ