Commit 6f02ca8f authored by Adam Fekete's avatar Adam Fekete
Browse files

cleanup the compose file used by the participants

parent 0c070ac9
version: '3.1'
services:
workflows-workshop:
# build: .
image: workflows-workshop:latest
restart: always
user: root
environment:
# - NB_UID=1001
- GRANT_SUDO=yes
- OMPI_MCA_btl_vader_single_copy_mechanism=none
ports:
- 8888:8888
- 5000:5000
depends_on:
- mongo
volumes:
- ./tutorials:/home/jovyan/tutorials
mongo:
image: mongo
restart: always
# environment:
# - MONGO_INITDB_ROOT_USERNAME=admin
# - MONGO_INITDB_ROOT_PASSWORD=secret
# ports:
# - 27017:27017 # opening port for development only!
volumes:
- ./db:/data/db
# mongo-express: # mongo-express only for development only!
# image: mongo-express
# restart: always
# ports:
# - 8081:8081
# environment:
# - ME_CONFIG_MONGODB_ADMINUSERNAME=admin
# - ME_CONFIG_MONGODB_ADMINPASSWORD=secret
# depends_on:
# - mongo
......@@ -2,40 +2,15 @@ version: '3.1'
services:
workflows-workshop:
# build: .
image: workflows-workshop:latest
restart: always
user: root
environment:
# - NB_UID=1001
- GRANT_SUDO=yes
- OMPI_MCA_btl_vader_single_copy_mechanism=none
ports:
- 8888:8888
- 5000:5000
depends_on:
- mongo
volumes:
- ./tutorials:/home/jovyan/tutorials
mongo:
image: mongo
restart: always
# environment:
# - MONGO_INITDB_ROOT_USERNAME=admin
# - MONGO_INITDB_ROOT_PASSWORD=secret
# ports:
# - 27017:27017 # opening port for development only!
volumes:
- ./db:/data/db
# mongo-express: # mongo-express only for development only!
# image: mongo-express
# restart: always
# ports:
# - 8081:8081
# environment:
# - ME_CONFIG_MONGODB_ADMINUSERNAME=admin
# - ME_CONFIG_MONGODB_ADMINPASSWORD=secret
# depends_on:
# - mongo
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment