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

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

License

Notifications You must be signed in to change notification settings

IntelliSnow/symfony-basic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick start

make build

make up

make sh

to enter PHP image


Use ./bin/console d:s:u --force for DB, no need for migrations. Ask for any questions.


Original readme below:


Symfony Docker

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

  • Production, development and CI ready
  • Automatic HTTPS (in dev and in prod!)
  • HTTP/2, HTTP/3 and Preload support
  • Built-in Mercure hub
  • Vulcain support
  • Just 2 services (PHP FPM and Caddy server)
  • Super-readable configuration

Enjoy!

Docs

  1. Build options
  2. Using Symfony Docker with an existing project
  3. Support for extra services
  4. Deploying in production
  5. Installing 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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 71.4%
  • Dockerfile 6.9%
  • Shell 6.7%
  • JavaScript 5.8%
  • Twig 5.0%
  • Makefile 4.0%
  • CSS 0.2%