Ports used in the project:
Software | Port |
---|---|
nginx | 8081 |
phpmyadmin | 8086 |
mysql | 33007 |
php | 9000 |
-
Clone this project:
git clone https://github.com/muhammetakkurt/symfony-reservation
-
Inside the folder
symfony-reservation
and Generate your own.env
to docker compose with the next command:cp .env.example .env
-
Build the project whit the next commands:
docker-compose up --build
-
Update Composer:
docker-compose run --rm composer update
-
Run all migrations & seeds:
docker-compose run --rm console doctrine:migrations:diff
docker-compose run --rm console doctrine:migrations:migrate
docker compose run --rm console doctrine:fixtures:load