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
.env
file 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
.env
file with your own values (especiallySYMFONY_VERSION
if you want anthother than the default one) ; - Run
make install-dev
; - Optionally run
make git-clean
to make this project your own (withgit init
for 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
.git
folder and re-initialize your own git repository ; - remove
/apps/back/
from.gitignore
;