This is an automated email from the ASF dual-hosted git repository. ioleksandr pushed a commit to branch DLAB-657 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-657 by this push: new 340e5ae Update configure_mongo.py 340e5ae is described below commit 340e5ae7dd422625d1f5b50f5854f3b39d897d5d Author: i.oleksandr <i.oleksa...@gmail.com> AuthorDate: Wed Jun 5 15:32:00 2019 +0300 Update configure_mongo.py --- infrastructure-provisioning/src/ssn/scripts/configure_mongo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-provisioning/src/ssn/scripts/configure_mongo.py b/infrastructure-provisioning/src/ssn/scripts/configure_mongo.py index 469c0b3..1fbf3fb 100644 --- a/infrastructure-provisioning/src/ssn/scripts/configure_mongo.py +++ b/infrastructure-provisioning/src/ssn/scripts/configure_mongo.py @@ -85,7 +85,7 @@ if __name__ == "__main__": local("cd {}sources/infrastructure-provisioning/src/; docker build --build-arg CLOUD_PROVIDER={} --file ssn/files/os/mongo_Dockerfile -t docker.dlab-mongo ." .format(args.dlab_path, args.cloud_provider)) local("mkdir -p /opt/mongo-vol") - local("docker run --name dlab-mongo -p 27017:27017 -v -d docker.dlab-mongo") + local("docker run --name dlab-mongo -p 27017:27017 -v /opt/mongo_vol:/data/db2 -d docker.dlab-mongo") local("docker exec some-mongo sh -c 'mongo < /root/create_db.js'") local("docker exec some-mongo sh -c 'mongoimport --jsonArray --db dlabdb --collection roles --file /root/mongo_roles.json'") else: --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org