- If not already done, install Docker Compose (v2.10+)
- Run
docker compose build --no-cacheto build fresh images - Run
docker compose up --pull always -d --waitto set up and start a fresh Symfony project - Open
https://localhostin your favorite web browser and accept the auto-generated TLS certificate - Run
docker compose down --remove-orphansto stop the Docker containers.
This stack includes the following features:
- User Management: Built-in functionality for user creation, login, and registration.
- Secure Authentication: Pre-configured authentication system using Symfony's security component.
- Dockerized Environment: Fully containerized setup for easy development and deployment.
- Add services to Symfony, run
./bin/service_add.shand select the service you want to add.
- Options available
- Using Symfony Docker with an existing project
- Support for extra services
- Deploying in production
- Debugging with Xdebug
- TLS Certificates
- Using MySQL instead of PostgreSQL
- Using Alpine Linux instead of Debian
- Using a Makefile
- Updating the template
- Troubleshooting
This stack comes pre-configured with user authentication features:
- Registration: Users can register via a
/registerendpoint. - Login: Users can log in via a
/loginendpoint. - User Management: Includes basic user creation and management functionality.
For more details on how to customize or extend the authentication system, refer to the Symfony Security documentation.