diff --git a/faye/Dockerfile b/faye/Dockerfile index c256bde7..95f3cb79 100644 --- a/faye/Dockerfile +++ b/faye/Dockerfile @@ -41,5 +41,7 @@ ENV FAYE_PORT=9296 EXPOSE $FAYE_PORT #CMD thin start -R config.ru -p $FAYE_PORT -CMD thin start -R config.ru -p $FAYE_PORT --ssl --ssl-disable-verify -#CMD thin start -R config.ru -p $FAYE_PORT --ssl --ssl-disable-verify --ssl-key-file=ssl/privkey.pem --ssl-cert-file=ssl/fullchain.pem +#CMD thin start -R config.ru -p $FAYE_PORT --ssl --ssl-disable-verify +#CMD falcon serve --port $FAYE_PORT +#CMD passenger start --port $FAYE_PORT --ssl --ssl-certificate ssl/fullchain.pem --ssl-certificate-key ssl/privkey.pem +CMD thin start -R config.ru -p $FAYE_PORT --ssl --ssl-disable-verify --ssl-key-file=ssl/privkey.pem --ssl-cert-file=ssl/fullchain.pem diff --git a/faye/Gemfile.lock b/faye/Gemfile.lock index 6ca679a5..21b42dfe 100644 --- a/faye/Gemfile.lock +++ b/faye/Gemfile.lock @@ -1,11 +1,11 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.7.0) + addressable (2.8.0) public_suffix (>= 2.0.2, < 5.0) coderay (1.1.3) cookiejar (0.3.3) - daemons (1.3.1) + daemons (1.4.1) em-http-request (1.1.7) addressable (>= 2.3.4) cookiejar (!= 0.3.1) @@ -23,10 +23,10 @@ GEM multi_json (>= 1.0.0) rack (>= 1.0.0) websocket-driver (>= 0.5.1) - faye-websocket (0.11.0) + faye-websocket (0.11.1) eventmachine (>= 0.12.0) websocket-driver (>= 0.5.1) - http_parser.rb (0.6.0) + http_parser.rb (0.8.0) method_source (1.0.0) multi_json (1.15.0) pry (0.14.1) @@ -34,11 +34,11 @@ GEM method_source (~> 1.0) public_suffix (4.0.6) rack (2.2.3) - thin (1.8.0) + thin (1.8.1) daemons (~> 1.0, >= 1.0.9) eventmachine (~> 1.0, >= 1.0.4) rack (>= 1, < 3) - websocket-driver (0.7.3) + websocket-driver (0.7.5) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.5) diff --git a/faye/rebuild-docker.sh b/faye/rebuild-docker.sh index fda5c0bc..98917db1 100755 --- a/faye/rebuild-docker.sh +++ b/faye/rebuild-docker.sh @@ -54,7 +54,7 @@ docker build -f faye/Dockerfile -t mozo_faye . # 5. Spin up the counter container from the generated image if [ $arch == "Darwin" ]; then echo "Running the created image using the Mac Darwin port exposing" - #docker run -p 9296:9296 --restart unless-stopped --detach --name=mozo_faye mozo_faye + docker run -p 9296:9296 --restart unless-stopped --detach --name=mozo_faye mozo_faye else echo "Running the created image using network=host" docker run --network=host --restart unless-stopped --detach --name=mozo_faye mozo_faye