Dockerfile

### Experimental: Docker container installation

Prerequisite: You have to have _docker_ and _fig_ installed. If you are on a non-linux OS, you need to have _boot2docker_ or something similar. If you can successfully run `docker info`, then you should be ok to go.

1. Load schema (only on the first run)

  `fig run web /bin/bash -l -c "bundle exec rake db:schema:load"`

1. Create a marketplace (only on the first run)

  `fig run web /bin/bash -l -c 'rails runner "Community.create(name: \"docker\", domain: \"docker\")"'`

1. Run the app

  `fig up`

1. Set lvh.me to point to docker IP

  Modify your `/etc/hosts` file. If you're in Linux, point 127.0.0.1 to docker.lvh.me. If you are on OSX (or Windows), point the result of running `boot2docker ip` to docker.lvh.me

1. All done! Open your browser and URL http://docker.lvh.me:3000

Please note, that Docker installation is experimental and it's missing some important parts:

- [x] Run MySQL
- [x] Run Rails and worker
- [x] Run Sphinx
- [x] Run Sphinx in its own container
- [x] Running server on production mode
- [x] Volume share (for sharing code in development work flow)
- [x] Fast volume share with NFS
- [x] ImageMagick
- [x] Default configurations
- [x] Use fig to setup all containers
- [ ] Zeus (see branch docker-zeus)
- [ ] Cucumber (Phantom)
- [ ] Cucumber (Firefox)