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 full HTTP/2, HTTP/3 and HTTPS support.

CI

Getting Started

  1. If not already done, install Docker Compose
  2. Run docker compose build --pull --no-cache to build fresh images
  3. Run docker compose up (the logs will be displayed in the current shell)
  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. Build options
  2. Using Symfony Docker with an existing project
  3. Support for extra services
  4. Deploying in production
  5. Debugging with Xdebug
  6. Using a Makefile
  7. Troubleshooting

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%