This repository contains the basic configuration to run Symfony applications with MySQL database
- PHP container running version 8.1.1
- MySQL container running version 8.0.26
- [optional] Replace all the occurrences of symfony-app in docker-compose.yml.dist and Makefile with some name more meaningful for your project
make build
to build the containersmake start
to start the containersmake stop
to stop the containersmake restart
to restart the containersmake prepare
to install dependencies with composer (once the project has been created)make run
to start a web server listening on port 1000 (8000 in the container)make logs
to see application logsmake ssh-be
to SSH into the application container