Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/thegarious/docker-symfony

Forking Git for Personnal Project Symfony And Laravel
https://github.com/thegarious/docker-symfony

Last synced: 6 days ago
JSON representation

Forking Git for Personnal Project Symfony And Laravel

Awesome Lists containing this project

README

        

docker-symfony
==============

[![Build Status](https://secure.travis-ci.org/eko/docker-symfony.png?branch=master)](http://travis-ci.org/eko/docker-symfony)

Just a little Docker POC in order to have a complete stack for running Symfony into Docker containers using docker-compose tool.

# Installation

First, clone this repository:

```bash
git clone [email protected]:swabbl/docker-symfony.git
git submodule update --init
```

Next, put your project application into `projects` folder and name for exemple `local.$(ProjectName).com`.
After add `local.$(ProjectName).com` in your `/etc/hosts` file.

For stop the docker services:

```bash
./docker.sh start
```

For stop the docker services:

```bash
./docker.sh build
```

Rebuild all container:

```bash
./docker.sh stop
```

List container started:

```bash
./docker.sh stop
```

For more information:
```bash
./docker.sh build -h
./docker.sh start -h
./docker.sh stop -h
```

You can access Nginx and Symfony application logs in the following directories on your host machine:

* `logs/nginx`
* `logs/symfony`

# Use Kibana!

You can also use Kibana to visualize Nginx & Symfony logs by visiting `http://symfony.dev:81`.