Skip to content

Commit

Permalink
Swap ml-workspace container and improve docs (INTO-CPS-Association#300)
Browse files Browse the repository at this point in the history
  - Replaces ml-workspace container with
    ml-workspace-minimal container. This change
    potentially improves the speed of user
    workspace.
  - Adds guide book to help with non-standard
    installation scenarios.
  - Adds MongoDB installation to services.js

---------
Co-authored-by: nichlaes <[email protected]>
  • Loading branch information
prasadtalasila authored and lindot11 committed Nov 29, 2023
1 parent 924a5cd commit 255d33c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
11 changes: 5 additions & 6 deletions deploy/services/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,9 @@ try {

log(chalk.green("Start new Mongodb server docker container"));
await $$`docker run -d -p ${mongodbConfig.port}:27017 \
--name mongodb \
-v ${mongodbConfig.datapath}:/data/db \
-e MONGO_INITDB_ROOT_USERNAME=${mongodbConfig.username} \
-e MONGO_INITDB_ROOT_PASSWORD=${mongodbConfig.password} \
--restart always \
mongo:7.0.3`;
--name mongodb \
-v ${mongodbConfig.datapath}:/data/db \
-e MONGO_INITDB_ROOT_USERNAME=${mongodbConfig.username} \
-e MONGO_INITDB_ROOT_PASSWORD=${mongodbConfig.password} \
mongo:7.0.3`;
log(chalk.green("MongoDB server docker container started successfully"));
11 changes: 5 additions & 6 deletions docs/admin/guides/add_service.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,11 @@ try {

log(chalk.green("Start new Mongodb server docker container"));
await $$`docker run -d -p ${mongodbConfig.port}:27017 \
--name mongodb \
-v ${mongodbConfig.datapath}:/data/db \
-e MONGO_INITDB_ROOT_USERNAME=${mongodbConfig.username} \
-e MONGO_INITDB_ROOT_PASSWORD=${mongodbConfig.password} \
--restart always \
mongo:7.0.3`;
--name mongodb \
-v ${mongodbConfig.datapath}:/data/db \
-e MONGO_INITDB_ROOT_USERNAME=${mongodbConfig.username} \
-e MONGO_INITDB_ROOT_PASSWORD=${mongodbConfig.password} \
mongo:7.0.3`;
log(chalk.green("MongoDB server docker container started successfully"));
```

Expand Down

0 comments on commit 255d33c

Please sign in to comment.