mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-10 11:32:57 +00:00
Add example for deploying notebook container using Docker Compose.
(c) Copyright IBM Corp. 2016
This commit is contained in:
15
examples/docker-compose/bin/softlayer.sh
Executable file
15
examples/docker-compose/bin/softlayer.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
# Distributed under the terms of the Modified BSD License.
|
||||
|
||||
# Set default SoftLayer VM settings
|
||||
: ${SOFTLAYER_CPU:=4}
|
||||
export SOFTLAYER_CPU
|
||||
: ${SOFTLAYER_DISK_SIZE:=100}
|
||||
export SOFTLAYER_DISK_SIZE
|
||||
: ${SOFTLAYER_MEMORY:=4096}
|
||||
export SOFTLAYER_MEMORY
|
||||
: ${SOFTLAYER_REGION:=wdc01}
|
||||
export SOFTLAYER_REGION
|
||||
|
||||
docker-machine create --driver softlayer "$@"
|
Reference in New Issue
Block a user