From: Guo Xiang Tan Date: Wed, 27 Apr 2016 16:10:39 +0000 (+0800) Subject: FIX: Ports are not being exposed. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=afec9a517728f57362aa3cc5576ca26d18aab63b;p=discourse_docker.git FIX: Ports are not being exposed. --- diff --git a/launcher b/launcher index 25ca6df..0268729 100755 --- 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']"`