Makes dockerui compatible with dokku

These changes allow you to deploy dockerui to dokku.

All these changes are really to make the go buildpack happy.

Once pushed to dokku, configure docker to bind on the docker0 bridge :

```
ip a s docker0 | grep inet
=> inet 172.17.42.1/16 scope global docker0
echo 'DOCKER_OPTS="-H unix:///var/run/docker.sock -H tcp://172.17.42.1:4243 -api-enable-cors"' > /etc/default/docker
restart docker
dokku config:add dockerui DOCKER_ENDPOINT=http://172.17.42.1:4243
```
pull/2/head
zimbatm 2013-12-08 23:38:29 +00:00
parent 2946a97f41
commit 01f56a8ac4
3 changed files with 3 additions and 0 deletions

1
.godir Normal file
View File

@ -0,0 +1 @@
dockerui

1
Procfile Normal file
View File

@ -0,0 +1 @@
web: dockerui -p ":$PORT" -e "$DOCKER_ENDPOINT"

1
src/dockerui Symbolic link
View File

@ -0,0 +1 @@
..