From 01f56a8ac41e9ecfc1f3b2a3ae908ffb0ae0010c Mon Sep 17 00:00:00 2001 From: zimbatm Date: Sun, 8 Dec 2013 23:38:29 +0000 Subject: [PATCH] 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 ``` --- .godir | 1 + Procfile | 1 + src/dockerui | 1 + 3 files changed, 3 insertions(+) create mode 100644 .godir create mode 100644 Procfile create mode 120000 src/dockerui diff --git a/.godir b/.godir new file mode 100644 index 000000000..35f9ef908 --- /dev/null +++ b/.godir @@ -0,0 +1 @@ +dockerui diff --git a/Procfile b/Procfile new file mode 100644 index 000000000..0b2da62c5 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: dockerui -p ":$PORT" -e "$DOCKER_ENDPOINT" diff --git a/src/dockerui b/src/dockerui new file mode 120000 index 000000000..a96aa0ea9 --- /dev/null +++ b/src/dockerui @@ -0,0 +1 @@ +.. \ No newline at end of file