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:
c2d3ee4
)
FIX: Ports are not being exposed.
author
Guo Xiang Tan
<tgx_world@hotmail.com>
Wed, 27 Apr 2016 16:10:39 +0000
(
00:10
+0800)
committer
Guo Xiang Tan
<tgx_world@hotmail.com>
Wed, 27 Apr 2016 16:10:39 +0000
(
00:10
+0800)
launcher
patch
|
blob
|
blame
|
history
diff --git
a/launcher
b/launcher
index 25ca6dfc57d723e4644910d9f8347a1b443746cf..02687299951a029d2ebff763b22ca258e24e3698 100755
(executable)
--- a/
launcher
+++ b/
launcher
@@
-412,6
+412,9
@@
run_start() {
host_run
+ ports=`cat $config_file | $docker_path run $user_args --rm -i -a stdout -a stdin $image ruby -e \
+ "require 'yaml'; puts YAML.load(STDIN.readlines.join)['expose'].map{|p| \"-p #{p}\"}.join(' ')"`
+
docker_args=`cat $config_file | $docker_path run $user_args --rm -i -a stdout -a stdin $image ruby -e \
"require 'yaml'; puts YAML.load(STDIN.readlines.join)['docker_args']"`