This is a template project for Symfony with Docker and Docker Compose which contains :
- php (
>= 8.1
) with Symfony framework (6.3
) - mysql (
8.0.32
) - A database running with mysql (see
.env
file for credentials)
- 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
;
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
;