Skip to content
/ symfony-docker Public template
forked from dunglas/symfony-docker

A Docker-based installer and runtime for Symfony. Install: download and `docker-compose up`.

Notifications You must be signed in to change notification settings

Anthodev/symfony-docker

 
 

Repository files navigation

Symfony Docker Supercharged

This repo is a fork from the Symfony Docker repo from dunglas with added improvements:

  • Added make and bash into the php container.
  • Added a Makefile file to run most of the usual Docker and Symfony commands with more ease
  • Build the docker containers with the user and group id of the user running the command (preventing permission issues)
  • Modified the ci.yml file in the .github folder to get quicker ci runs (while checking more thing in your project)
  • Trigger the CI on pull requests by default
  • Modified the docker-compose.yml file to set a name for the php container (for easier use of the make commands)

Below the original README of the project.


A Docker-based installer and runtime for the Symfony web framework, with FrankenPHP and Caddy inside!

CI

Getting Started

  1. If not already done, install Docker Compose (v2.10+)
  2. Run docker compose build --no-cache to build fresh images
  3. Run docker compose up --pull always -d --wait to set up and start a fresh Symfony project
  4. Open https://localhost in your favorite web browser and accept the auto-generated TLS certificate
  5. Run docker compose down --remove-orphans to stop the Docker containers.

Features

Enjoy!

Docs

  1. Options available
  2. Using Symfony Docker with an existing project
  3. Support for extra services
  4. Deploying in production
  5. Debugging with Xdebug
  6. TLS Certificates
  7. Using MySQL instead of PostgreSQL
  8. Using Alpine Linux instead of Debian
  9. Using a Makefile
  10. Updating the template
  11. Troubleshooting

License

Symfony Docker is available under the MIT License.

Credits

Created by Kévin Dunglas, co-maintained by Maxime Helias and sponsored by Les-Tilleuls.coop.

About

A Docker-based installer and runtime for Symfony. Install: download and `docker-compose up`.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 39.4%
  • Just 24.2%
  • Dockerfile 20.3%
  • Shell 16.1%