updates for new development env
This commit is contained in:
@@ -39,4 +39,3 @@ EXPOSE $FAYE_PORT
|
||||
|
||||
#CMD thin start -R config.ru -p $FAYE_PORT
|
||||
CMD thin start -R config.ru -p $FAYE_PORT --ssl --ssl-key-file=ssl/privkey.pem --ssl-cert-file=ssl/fullchain.pem
|
||||
|
||||
|
||||
@@ -47,8 +47,10 @@ 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
|
||||
else
|
||||
echo "Running the created image using network=host"
|
||||
docker run --network=host --restart unless-stopped --detach --name=mozo_faye mozo_faye
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user