tumblr/collins — pull request #208 by byxorna (2014-09-05 19:42:05+00:00)
Title: Gabe dockerfile

This creates the basic docker image for collins. It uses H2 and is configured with a lot of development configs to enable quick testing. Downstream users will be able to vendorize the build by ADDing their own configs in /opt/collins/conf/.

Note, this depends on the changes in https://github.com/tumblr/collins/pull/207 to make collins run in the container when invoked as user, not root.

When we push this, it should be as simple as:
```
$ docker run -p9000:9000 --name collins tumblr/collins
Starting collins... [ OK ]
2014-09-05 20:22:04,946 - [INFO] - from play in main database [collins] connected at jdbc:h2:mem:play
2014-09-05 20:22:16,593 - [WARN] - from org.apache.solr.core.SolrCore in main [] Solr index directory 'conf/solr/./data/index' doesn't exist. Creating new index...
2014-09-05 20:22:17,905 - [DEBUG] - from application in main Booting embedded Solr Server with solrhome conf/solr/
2014-09-05 20:22:18,321 - [INFO] - from play in main Starting application default Akka system.
2014-09-05 20:22:18,502 - [INFO] - from play in main Application started (Prod)
2014-09-05 20:22:18,690 - [INFO] - from akka.event.slf4j.Slf4jEventHandler in play-akka.actor.default-dispatcher-1 Slf4jEventHandler started
^Z
$ bg %1
$ ./scripts/populate.sh
ASSET
ID 2
CREATED 2014-09-05T20:23:12
TAG tumblrtag300
STATUS Incomplete
DELETED null
UPDATED null
STATE null
TYPE SERVER_NODE
IPMI
IPMI_USERNAME root
ID 2
IPMI_ADDRESS 172.16.32.20
IPMI_NETMASK 255.255.240.0
ASSET_ID 2
ASSET_TAG tumblrtag300
IPMI_GATEWAY 172.16.32.1
IPMI_PASSWORD FG1hrav6MjXVPsHY
SUCCESS true
....
```

cc @maddalab @dallasmarlow @Primer42 @roymarantz