Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 690 Bytes

README.md

File metadata and controls

31 lines (16 loc) · 690 Bytes

docker-symfony-nginx-pgsql

Installation

You can check the .env file to rename compose project

Symfony Project

  1. First run docker-compose up

  2. 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)

  3. Then you connect to the php container using and docker exec -it <container_id> bash and do symfony new . --webapp

  4. Go to http://localhost :)

Classic PHP Project

  1. First run docker-compose up

  2. Then you can create a /api/public/index.php and start your project

Informations

Composer and symfony CLI are installed on the PHP container

TODO

  • /