Update to thin server for faye messages

This commit is contained in:
2022-01-31 12:14:46 -05:00
parent 261fdec6b4
commit 13efc63c88
3 changed files with 11 additions and 9 deletions
+4 -2
View File
@@ -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
+6 -6
View File
@@ -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)
+1 -1
View File
@@ -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