projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe60fa
)
FEATURE: hostname for instances so we can tell who is who
author
Sam
<sam.saffron@gmail.com>
Mon, 3 Feb 2014 06:02:40 +0000
(17:02 +1100)
committer
Sam
<sam.saffron@gmail.com>
Mon, 3 Feb 2014 06:02:40 +0000
(17:02 +1100)
launcher
patch
|
blob
|
blame
|
history
diff --git
a/launcher
b/launcher
index a6dbe6d471f9895f68a81745e598c198bc954ccb..e81c63e554abc37c622bf308006972c00d60fa6f 100755
(executable)
--- a/
launcher
+++ b/
launcher
@@
-214,7
+214,7
@@
case "$command" in
exit 1
fi
- docker run "${env[@]}" -e DOCKER_HOST_IP=$docker_ip -name $config -cidfile $cidfile $ports \
+ docker run "${env[@]}" -
h "`hostname`-$config" -
e DOCKER_HOST_IP=$docker_ip -name $config -cidfile $cidfile $ports \
-d $volumes $local_discourse/$config /usr/bin/runsvdir -P /etc/service
exit 0