Please check the projects section for more details.
Branch | Docker Version | Symfony Version | PHP Version |
---|---|---|---|
twilio | ^23.0 |
^5.4 |
^8.0 |
mnsami | ^23.0 |
^5.4 |
^7.4 |
Get Started with Docker Compose and Symfony
Code: https://github.com/habibun/symfony-docker/tree/twilio
Resources:
Prerequisites: Symfony CLI, PHP, Composer, Git, MySQL, Docker, Docker Compose
# Clone the repository using the command
git clone [email protected]:habibun/symfony-docker.git
# Navigate into the cloned directory
cd symfony-docker
# Checkout to project branch
git checkout twilio
# Create .env.local file
make init
Configure the database connection in the .env.local file
# Start docker services
make start
# Install project
make install
Please check more rules in Makefile.
Dockerized Symfony backend app with ReactJs for frontend with hotloading enabled
Code: https://github.com/habibun/symfony-docker/tree/mnsami
Resources:
# Clone the repository using the command
git clone [email protected]:habibun/symfony-docker.git
# Navigate into the cloned directory
cd symfony-docker
# Checkout to project branch
git checkout mnsami
# Create .env.local file
make init
# Start docker services
make start
# Install project
make install
Please check more rules in Makefile.
- Docker Docs
- Introducing Docker support
- Using Docker with Symfony
- Docker Integration
- Learn Enough Docker to be Useful
Distributed under the MIT License. See LICENSE for more information.