The project appears to focus on "Docker-Symfony-Boilerplate," aiming to jumpstart Symfony projects with a pre-configured setup for seamless development, testing, and deployment. It's easy, efficient, and ready to use.
To be able to run the project you'll need docker to be installed, also configure your regular user account to be able to execute docker commands to prevent credential problems.
Clone this repository using either the following command with HTTPS or with SSH:
git clone https://github.com/Medbesbes/Symfony-Docker-Boilerplate.git
git clone git@github.com:Medbesbes/Symfony-Docker-Boilerplate.git
- If not already done, install Make on your s ystem.
- If not already done, install Docker Compose (v2.10+)
- Run this command to build fresh images
make init
Your docker-compose.yaml use the file .env to provision informations like Posgress credential Or pgAdmin creadential so you need to rename the env file to .env and make the neccessary modification.
- "app" will contain your symfony project code.
- "data/postgres" will contain files concerning posgress container.
- "logs/nginx" will contain nginx access and error logs.
- "docker/nginx" will contain nginx configuration files that will be mapped inside nginx container.
- "docker/php" will contain the Dockerfile builds a PHP environment with the necessary dependencies and extensions to run PHP applications, particularly those utilizing PostgreSQL as a database, and sets up execution via PHP-FPM with Composer installed.
Start a shell session within a Docker container named "php" :
docker-compose run php sh