You can check the .env
file to rename compose project
-
First run
docker-compose up
-
Get the container id using
docker ps
and get the id of the container named COMPOSE_PROJECT_NAME _php (only the first few char are needed) -
Then you connect to the php container using and
docker exec -it <container_id> bash
and dosymfony new . --webapp
-
Go to http://localhost :)
-
First run
docker-compose up
-
Then you can create a /api/public/index.php and start your project
Composer and symfony CLI are installed on the PHP container
- /