Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/s-shiryaev/docker-php7-symfony

A docker multicontainer with nginx, postgres, redis and a configured symfony project
https://github.com/s-shiryaev/docker-php7-symfony

nginx php7-fpm postgresql redis symfony symfony5-1

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# Docker Symfony (Nginx, Postgres, Redis, PHP-FPM)
A docker multicontainer with nginx, postgres, redis and a preconfigured symfony project.

[![Build Status](https://travis-ci.com/s-shiryaev/docker-php7-symfony.svg?branch=master)](https://travis-ci.com/s-shiryaev/docker-php7-symfony)

## 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 `)