forked from singnet/das-poc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andre Senna
committed
May 9, 2023
1 parent
23b8160
commit 88f89b1
Showing
8 changed files
with
64 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
docker run \ | ||
--name jupyter-notebook \ | ||
--env DAS_MONGODB_HOSTNAME=${DAS_MONGODB_HOSTNAME:-mongo} \ | ||
--env DAS_MONGODB_PORT=${DAS_MONGODB_PORT:-27017} \ | ||
--env DAS_REDIS_HOSTNAME=${DAS_REDIS_HOSTNAME:-redis} \ | ||
--env DAS_REDIS_PORT=${DAS_REDIS_PORT:-6379} \ | ||
--env DAS_DATABASE_USERNAME=${DAS_DATABASE_USERNAME:-dbadmin} \ | ||
--env DAS_DATABASE_PASSWORD=${DAS_DATABASE_PASSWORD:-dassecret} \ | ||
--env PYTHONPATH=/app \ | ||
--env TZ=${TZ} \ | ||
--network="host" \ | ||
--volume /tmp:/tmp \ | ||
--volume /mnt:/mnt \ | ||
--volume /opt/das/data:/data \ | ||
--volume $(pwd)/notebooks:/app/notebooks \ | ||
das:latest \ | ||
jupyter-notebook --ip 0.0.0.0 --port 8887 --no-browser --allow-root | ||
|
||
docker rm jupyter-notebook >& /dev/null |
Oops, something went wrong.