drgomesp / symfony-docker
The Symfony Docker Edition, featuring Docker and Docker Compose – by Daniel Ribeiro
Installs: 67
Dependents: 0
Suggesters: 0
Security: 0
Stars: 212
Watchers: 16
Forks: 50
Open Issues: 5
Type:project
Requires
- php: >=7.0
- doctrine/doctrine-bundle: ^1.6
- doctrine/doctrine-cache-bundle: ^1.2
- doctrine/orm: ^2.5
- incenteev/composer-parameter-handler: ^2.0
- sensio/distribution-bundle: ^5.0
- sensio/framework-extra-bundle: ^3.0.2
- symfony/monolog-bundle: ^3.0.2
- symfony/polyfill-apcu: ^1.0
- symfony/swiftmailer-bundle: ^2.3.10
- symfony/symfony: 3.2.*
- twig/twig: ^1.0||^2.0
Requires (Dev)
- sensio/generator-bundle: ^3.0
- symfony/phpunit-bridge: ^3.0
This package is not auto-updated.
Last update: 2022-04-30 05:59:09 UTC
README
Symfony Docker Edition
The unofficial Symfony Docker Edition – by @drgomesp
http://drgomesp.github.io/symfony-docker/
This is an unofficial, open-source and community-driven boilerplate for Symfony projects that run on Docker. It's an attempt of standardizing and making it easier to bootstrap Symfony applications ready for development and production environments. The main tools used are Symfony, Docker and Docker Compose. Other things included are:
- PHP 7.1 + PHP-FPM
- Nginx
- Xdebug
- Opcache
Table of Contents
Installation
Before anything, you need to make sure you have Docker properly setup in your environment. For that, refer to the official documentation for both Docker and Docker Compose. Also, if you're developing on Mac or Windows – yeah, maybe that's the case –, make sure you have Docker Machine properly setup.
This project depends on having jwilder/nginx-proxy running. This is a reverse proxy container that will allow having multiple projects running on port 80.
Build and run the containers:
docker-compose up -d --build
Once that's done, you should be able to access the application on the IP that docker (or Docker Machine) is running at.
FAQ
Coming soon...
Enjoy!