Skip to content

A docker multicontainer with nginx, postgres, redis and a configured symfony project

License

Notifications You must be signed in to change notification settings

s-shiryaev/docker-php7-symfony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Symfony (Nginx, Postgres, Redis, PHP-FPM)

A docker multicontainer with nginx, postgres, redis and a preconfigured symfony project.

Build Status

Installation

  1. Build/run containers with (with and without detached mode)

    docker-compose build
    docker-compose up -d
    
  2. Composer install

    docker exec php-fpm  composer --no-interaction install
    

How to Use

  • Enter Symfony container

    docker-compose exec php sh
    # OR
    docker exec -it php-fpm sh
    
  • Run whatever you want (E.g. composer require )