okfde/offenesparlament.de — pull request #35 by milafrerichs (2014-11-05 13:20:39+00:00)
Title: Docker deployment

## Deployment and Development with Docker
Add Dockerfile and fig.yml for docker deployment
[fig](http://fig.sh) and [docker](http://docker.com) are cool new tools for easy deployment and development.
No need for virtualenv and installing everything locally on your machine.

## How to run
Install Docker.
Install fig
`fig build ` for setting up the Docker image for offenesparlament
`fig up`for running fig and all images together. like server, databases and solr

## Settings
Settings have to be sepcific to the postgres image
```
SQLALCHEMY_DATABASE_URI = 'postgresql://postgres:postgres@db:5432/postgres'
SOLR_URL = 'http://solr:8983/solr/parlament'
ETL_URL = 'postgresql://postgres:postgres@stagingdb/postgres'
```
Should we set them by default in the default_settings.py @pudo ?