This is a template project for Symfony with Docker and Docker Compose which contains :
- php (
>= 8.3) with Symfony framework (7.3) - mysql (
8.0.32) - A database running with mysql (see
.envfile for credentials)
- Make command (already installed on most Linux distributions) ;
- Docker engine
> 20.10 - Docker compose
> 2
- Clone the project ;
- Run
make copy-env; - Update
.envfile with your own values (especiallySYMFONY_VERSIONif you want anthother than the default one) ; - Run
make install-dev; - Optionally run
make git-cleanto make this project your own (withgit initfor example) ;
At this point you should have a working symfony project accessible on localhost .
Run make start to start the project (not necessary if you just ran make install-dev).
To make this stack you own :
- remove
.gitfolder and re-initialize your own git repository ; - remove
/apps/back/from.gitignore;