diff --git a/render-ws-with-mongo-db/Dockerfile b/render-ws-with-mongo-db/Dockerfile index 0448cb3d9..40f2c5d49 100644 --- a/render-ws-with-mongo-db/Dockerfile +++ b/render-ws-with-mongo-db/Dockerfile @@ -13,10 +13,10 @@ # cd ${RENDER_REPO_ROOT_DIR} # docker build --file render-ws-with-mongo-db/Dockerfile --no-cache --tag janelia-render-ws-with-mongo-db:0.0.2 . # -# To run a container: -# docker run --tty --publish 8080:8080 --rm janelia-render-ws-with-mongo-db:0.0.2 +# To run a container in detached mode: +# docker run --publish 8080:8080 --detach --rm janelia-render-ws-with-mongo-db:0.0.2 # -# To launch interactive bash shell within an example container: +# To launch interactive bash shell within a container: # docker run --interactive --tty --publish 8080:8080 --entrypoint /bin/bash --rm janelia-render-ws-with-mongo-db:0.0.2 # ====================================================================================== diff --git a/render-ws-with-mongo-db/startup_mongodb_and_jetty.sh b/render-ws-with-mongo-db/startup_mongodb_and_jetty.sh index 2d0b4a096..68ca4beba 100755 --- a/render-ws-with-mongo-db/startup_mongodb_and_jetty.sh +++ b/render-ws-with-mongo-db/startup_mongodb_and_jetty.sh @@ -3,18 +3,8 @@ # ------------------------------------------------------------------------------------------------------ # From https://github.com/saalfeldlab/render/blob/master/docs/src/site/markdown/render-ws.md -echo """ - Install 7. Start MongoDB -""" +# start mongodb sudo -u mongodb /usr/bin/mongod -f /etc/mongod.conf & -echo """ - Install 8. Start Jetty -""" - -echo """ - Hack: Passing run instead of start to jetty.sh to work-around startup failure. - See https://github.com/eclipse/jetty.project/issues/7008 and - https://github.com/eclipse/jetty.project/issues/7095 -""" -deploy/jetty_base/jetty_wrapper.sh run +# start jetty +deploy/jetty_base/jetty_wrapper.sh start \ No newline at end of file