Update to thin server for faye messages
This commit is contained in:
+4
-2
@@ -41,5 +41,7 @@ ENV FAYE_PORT=9296
|
|||||||
EXPOSE $FAYE_PORT
|
EXPOSE $FAYE_PORT
|
||||||
|
|
||||||
#CMD thin start -R config.ru -p $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
|
||||||
#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 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
|
||||||
|
|||||||
+6
-6
@@ -1,11 +1,11 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
addressable (2.7.0)
|
addressable (2.8.0)
|
||||||
public_suffix (>= 2.0.2, < 5.0)
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
coderay (1.1.3)
|
coderay (1.1.3)
|
||||||
cookiejar (0.3.3)
|
cookiejar (0.3.3)
|
||||||
daemons (1.3.1)
|
daemons (1.4.1)
|
||||||
em-http-request (1.1.7)
|
em-http-request (1.1.7)
|
||||||
addressable (>= 2.3.4)
|
addressable (>= 2.3.4)
|
||||||
cookiejar (!= 0.3.1)
|
cookiejar (!= 0.3.1)
|
||||||
@@ -23,10 +23,10 @@ GEM
|
|||||||
multi_json (>= 1.0.0)
|
multi_json (>= 1.0.0)
|
||||||
rack (>= 1.0.0)
|
rack (>= 1.0.0)
|
||||||
websocket-driver (>= 0.5.1)
|
websocket-driver (>= 0.5.1)
|
||||||
faye-websocket (0.11.0)
|
faye-websocket (0.11.1)
|
||||||
eventmachine (>= 0.12.0)
|
eventmachine (>= 0.12.0)
|
||||||
websocket-driver (>= 0.5.1)
|
websocket-driver (>= 0.5.1)
|
||||||
http_parser.rb (0.6.0)
|
http_parser.rb (0.8.0)
|
||||||
method_source (1.0.0)
|
method_source (1.0.0)
|
||||||
multi_json (1.15.0)
|
multi_json (1.15.0)
|
||||||
pry (0.14.1)
|
pry (0.14.1)
|
||||||
@@ -34,11 +34,11 @@ GEM
|
|||||||
method_source (~> 1.0)
|
method_source (~> 1.0)
|
||||||
public_suffix (4.0.6)
|
public_suffix (4.0.6)
|
||||||
rack (2.2.3)
|
rack (2.2.3)
|
||||||
thin (1.8.0)
|
thin (1.8.1)
|
||||||
daemons (~> 1.0, >= 1.0.9)
|
daemons (~> 1.0, >= 1.0.9)
|
||||||
eventmachine (~> 1.0, >= 1.0.4)
|
eventmachine (~> 1.0, >= 1.0.4)
|
||||||
rack (>= 1, < 3)
|
rack (>= 1, < 3)
|
||||||
websocket-driver (0.7.3)
|
websocket-driver (0.7.5)
|
||||||
websocket-extensions (>= 0.1.0)
|
websocket-extensions (>= 0.1.0)
|
||||||
websocket-extensions (0.1.5)
|
websocket-extensions (0.1.5)
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ docker build -f faye/Dockerfile -t mozo_faye .
|
|||||||
# 5. Spin up the counter container from the generated image
|
# 5. Spin up the counter container from the generated image
|
||||||
if [ $arch == "Darwin" ]; then
|
if [ $arch == "Darwin" ]; then
|
||||||
echo "Running the created image using the Mac Darwin port exposing"
|
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
|
else
|
||||||
echo "Running the created image using network=host"
|
echo "Running the created image using network=host"
|
||||||
docker run --network=host --restart unless-stopped --detach --name=mozo_faye mozo_faye
|
docker run --network=host --restart unless-stopped --detach --name=mozo_faye mozo_faye
|
||||||
|
|||||||
Reference in New Issue
Block a user