diff --git a/README.md b/README.md index 570665f8c9e..c02f9bfeac1 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ which functions as the data backbone for prominent hedge funds, banks, and finan | Language | Server Application | Client Application (OpenAPI) | | ------------- | ------------------ | ---------------------------- | -| Python | Yes | Yes | -| Java / Groovy | Yes | Yes | +| Python | Yes | Yes | +| Java / Groovy | Yes | Yes | | C++ | No | Yes | | JavaScript | No | Yes | | gRPC | - | Yes | @@ -79,18 +79,91 @@ cd deephaven-deployment Run the following commands to launch Deephaven for Python server applications. ```bash -curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python/docker-compose.yml -O +curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python/base/docker-compose.yml -O docker-compose pull docker-compose up -d ``` +### Launch: Python with NLTK + +Run the following commands to launch Deephaven for Python server applications with the [NLTK](https://nltk.org/) module pre-installed. + +```bash +curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python/NLTK/docker-compose.yml -O +docker-compose pull +docker-compose up -d +``` + +### Launch: Python with PyTorch + +Run the following commands to launch Deephaven for Python server applications with the [PyTorch](https://pytorch.org/) module pre-installed. + +```bash +curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python/PyTorch/docker-compose.yml -O +docker-compose pull +docker-compose up -d +``` + +### Launch: Python with SciKit-Learn + +Run the following commands to launch Deephaven for Python server applications with the [SciKit-Learn](https://scikit-learn.org/stable/) module pre-installed. + +```bash +curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python/SciKit-Learn/docker-compose.yml -O +docker-compose pull +docker-compose up -d +``` + +### Launch: Python with TensorFlow + +Run the following commands to launch Deephaven for Python server applications with the [TensorFlow](https://www.tensorflow.org/) module pre-installed. ### Launch: Python with example data Run the following commands to launch Deephaven for Python server applications, with example data. ```bash -curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/docker-compose.yml -O +curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/base/docker-compose.yml -O +docker-compose pull +docker-compose up -d +``` + +### Launch: Python with example data and NLTK + +Run the following commands to launch Deephaven for Python server applications, with example data and [NLTK](https://nltk.org/). + +```bash +curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/NLTK/docker-compose.yml -O +docker-compose pull +docker-compose up -d +``` + +### Launch: Python with example data and PyTorch + +Run the following commands to launch Deephaven for Python server applications, with example data and [PyTorch](https://pytorch.org/). + +```bash +curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/PyTorch/docker-compose.yml -O +docker-compose pull +docker-compose up -d +``` + +### Launch: Python with example data and SciKit-Learn + +Run the following commands to launch Deephaven for Python server applications, with example data and [SciKit-Learn](https://scikit-learn.org/stable/). + +```bash +curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/SciKit-Learn/docker-compose.yml -O +docker-compose pull +docker-compose up -d +``` + +### Launch: Python with example data and TensorFlow + +Run the following commands to launch Deephaven for Python server applications, with example data and [TensorFlow](https://www.tensorflow.org/). + +```bash +curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/TensorFlow/docker-compose.yml -O docker-compose pull docker-compose up -d ``` @@ -105,7 +178,6 @@ docker-compose pull docker-compose up -d ``` - ### Launch: Groovy / Java with example data Run the following commands to launch Deephaven for Groovy / Java server applications, with example data. diff --git a/containers/python-examples/NLTK/README.md b/containers/python-examples/NLTK/README.md new file mode 100644 index 00000000000..ddaedb2f0f6 --- /dev/null +++ b/containers/python-examples/NLTK/README.md @@ -0,0 +1,24 @@ +# Overview + +A Docker Compose deployment for [Deephaven](https://deephaven.io). + +## Features + +- [Deephaven](https://deephaven.io) +- [Python](https://python.org/) scripting +- [NLTK](https://www.nltk.org/) +- [Deephaven Examples](https://github.com/deephaven/examples) + +## Launch Deephaven + +For launch instructions, see the [README](https://github.com/deephaven/deephaven-core#launch-python-with-example-data). For full instructions to work with Deephaven, see the [Quick start](https://deephaven.io/core/docs/tutorials/quickstart). + +To launch Deephaven, execute the following in your deployment directory: + +```bash +compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/NLTK/docker-compose.yml +curl -O "${compose_file}" + +docker-compose pull +docker-compose up -d +``` diff --git a/containers/python-examples/NLTK/docker-compose.yml b/containers/python-examples/NLTK/docker-compose.yml new file mode 100644 index 00000000000..e7a55db46e7 --- /dev/null +++ b/containers/python-examples/NLTK/docker-compose.yml @@ -0,0 +1,48 @@ +version: "3.4" + +services: + grpc-api: + image: ghcr.io/deephaven/nltk-base:${VERSION:-latest} + expose: + - '8080' + volumes: + - ./data:/data + - api-cache:/cache + environment: + - JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=python + + web: + image: ghcr.io/deephaven/web:${VERSION:-latest} + expose: + - '80' + volumes: + - ./data:/data + - web-tmp:/tmp + + grpc-proxy: + image: ghcr.io/deephaven/grpc-proxy:${VERSION:-latest} + environment: + - BACKEND_ADDR=grpc-api:8080 + depends_on: + - grpc-api + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - grpc-api + ports: + - "${PORT:-10000}:10000" + + examples: + image: ghcr.io/deephaven/examples + volumes: + - ./data:/data + command: initialize + +volumes: + web-tmp: + api-cache: diff --git a/containers/python-examples/PyTorch/README.md b/containers/python-examples/PyTorch/README.md new file mode 100644 index 00000000000..079bd1610a0 --- /dev/null +++ b/containers/python-examples/PyTorch/README.md @@ -0,0 +1,24 @@ +# Overview + +A Docker Compose deployment for [Deephaven](https://deephaven.io). + +## Features + +- [Deephaven](https://deephaven.io) +- [Python](https://python.org/) scripting +- [PyTorch](https://pytorch.org/) +- [Deephaven Examples](https://github.com/deephaven/examples) + +## Launch Deephaven + +For launch instructions, see the [README](https://github.com/deephaven/deephaven-core#launch-python-with-example-data). For full instructions to work with Deephaven, see the [Quick start](https://deephaven.io/core/docs/tutorials/quickstart). + +To launch Deephaven, execute the following in your deployment directory: + +```bash +compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/PyTorch/docker-compose.yml +curl -O "${compose_file}" + +docker-compose pull +docker-compose up -d +``` diff --git a/containers/python-examples/PyTorch/docker-compose.yml b/containers/python-examples/PyTorch/docker-compose.yml new file mode 100644 index 00000000000..f40c74c11f0 --- /dev/null +++ b/containers/python-examples/PyTorch/docker-compose.yml @@ -0,0 +1,48 @@ +version: "3.4" + +services: + grpc-api: + image: ghcr.io/deephaven/pytorch-base:${VERSION:-latest} + expose: + - '8080' + volumes: + - ./data:/data + - api-cache:/cache + environment: + - JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=python + + web: + image: ghcr.io/deephaven/web:${VERSION:-latest} + expose: + - '80' + volumes: + - ./data:/data + - web-tmp:/tmp + + grpc-proxy: + image: ghcr.io/deephaven/grpc-proxy:${VERSION:-latest} + environment: + - BACKEND_ADDR=grpc-api:8080 + depends_on: + - grpc-api + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - grpc-api + ports: + - "${PORT:-10000}:10000" + + examples: + image: ghcr.io/deephaven/examples + volumes: + - ./data:/data + command: initialize + +volumes: + web-tmp: + api-cache: diff --git a/containers/python-examples/SciKit-Learn/README.md b/containers/python-examples/SciKit-Learn/README.md new file mode 100644 index 00000000000..6b743ee3370 --- /dev/null +++ b/containers/python-examples/SciKit-Learn/README.md @@ -0,0 +1,24 @@ +# Overview + +A Docker Compose deployment for [Deephaven](https://deephaven.io). + +## Features + +- [Deephaven](https://deephaven.io) +- [Python](https://python.org/) scripting +- [SciKit-Learn](https://scikit-learn.org/stable/) +- [Deephaven Examples](https://github.com/deephaven/examples) + +## Launch Deephaven + +For launch instructions, see the [README](https://github.com/deephaven/deephaven-core#launch-python-with-example-data). For full instructions to work with Deephaven, see the [Quick start](https://deephaven.io/core/docs/tutorials/quickstart). + +To launch Deephaven, execute the following in your deployment directory: + +```bash +compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/SciKit-Learn/docker-compose.yml +curl -O "${compose_file}" + +docker-compose pull +docker-compose up -d +``` diff --git a/containers/python-examples/SciKit-Learn/docker-compose.yml b/containers/python-examples/SciKit-Learn/docker-compose.yml new file mode 100644 index 00000000000..610e2f12cb3 --- /dev/null +++ b/containers/python-examples/SciKit-Learn/docker-compose.yml @@ -0,0 +1,48 @@ +version: "3.4" + +services: + grpc-api: + image: ghcr.io/deephaven/sklearn-base:${VERSION:-latest} + expose: + - '8080' + volumes: + - ./data:/data + - api-cache:/cache + environment: + - JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=python + + web: + image: ghcr.io/deephaven/web:${VERSION:-latest} + expose: + - '80' + volumes: + - ./data:/data + - web-tmp:/tmp + + grpc-proxy: + image: ghcr.io/deephaven/grpc-proxy:${VERSION:-latest} + environment: + - BACKEND_ADDR=grpc-api:8080 + depends_on: + - grpc-api + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - grpc-api + ports: + - "${PORT:-10000}:10000" + + examples: + image: ghcr.io/deephaven/examples + volumes: + - ./data:/data + command: initialize + +volumes: + web-tmp: + api-cache: diff --git a/containers/python-examples/TensorFlow/README.md b/containers/python-examples/TensorFlow/README.md new file mode 100644 index 00000000000..41e2a0c1c53 --- /dev/null +++ b/containers/python-examples/TensorFlow/README.md @@ -0,0 +1,24 @@ +# Overview + +A Docker Compose deployment for [Deephaven](https://deephaven.io). + +## Features + +- [Deephaven](https://deephaven.io) +- [Python](https://python.org/) scripting +- [TensorFlow](https://www.tensorflow.org/) +- [Deephaven Examples](https://github.com/deephaven/examples) + +## Launch Deephaven + +For launch instructions, see the [README](https://github.com/deephaven/deephaven-core#launch-python-with-example-data). For full instructions to work with Deephaven, see the [Quick start](https://deephaven.io/core/docs/tutorials/quickstart). + +To launch Deephaven, execute the following in your deployment directory: + +```bash +compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/TensorFlow/docker-compose.yml +curl -O "${compose_file}" + +docker-compose pull +docker-compose up -d +``` diff --git a/containers/python-examples/TensorFlow/docker-compose.yml b/containers/python-examples/TensorFlow/docker-compose.yml new file mode 100644 index 00000000000..7defd86ba54 --- /dev/null +++ b/containers/python-examples/TensorFlow/docker-compose.yml @@ -0,0 +1,48 @@ +version: "3.4" + +services: + grpc-api: + image: ghcr.io/deephaven/tensorflow-base:${VERSION:-latest} + expose: + - '8080' + volumes: + - ./data:/data + - api-cache:/cache + environment: + - JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=python + + web: + image: ghcr.io/deephaven/web:${VERSION:-latest} + expose: + - '80' + volumes: + - ./data:/data + - web-tmp:/tmp + + grpc-proxy: + image: ghcr.io/deephaven/grpc-proxy:${VERSION:-latest} + environment: + - BACKEND_ADDR=grpc-api:8080 + depends_on: + - grpc-api + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - grpc-api + ports: + - "${PORT:-10000}:10000" + + examples: + image: ghcr.io/deephaven/examples + volumes: + - ./data:/data + command: initialize + +volumes: + web-tmp: + api-cache: diff --git a/containers/python-examples/README.md b/containers/python-examples/base/README.md similarity index 91% rename from containers/python-examples/README.md rename to containers/python-examples/base/README.md index 93912147e27..37e4616e306 100644 --- a/containers/python-examples/README.md +++ b/containers/python-examples/base/README.md @@ -15,7 +15,7 @@ For launch instructions, see the [README](https://github.com/deephaven/deephaven To launch Deephaven, execute the following in your deployment directory: ```bash -compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/docker-compose.yml +compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python-examples/base/docker-compose.yml curl -O "${compose_file}" docker-compose pull diff --git a/containers/python-examples/docker-compose.yml b/containers/python-examples/base/docker-compose.yml similarity index 100% rename from containers/python-examples/docker-compose.yml rename to containers/python-examples/base/docker-compose.yml diff --git a/containers/python/NLTK/README.md b/containers/python/NLTK/README.md new file mode 100644 index 00000000000..3ebe51dc894 --- /dev/null +++ b/containers/python/NLTK/README.md @@ -0,0 +1,23 @@ +# Overview + +A Docker Compose deployment for [Deephaven](https://deephaven.io). + +## Features + +- [Deephaven](https://deephaven.io) +- [Python](https://python.org) +- [NLTK](https://www.nltk.org/) + +## Launch Deephaven + +For launch instructions, see the [README](https://github.com/deephaven/deephaven-core/#launch-python). For full instructions to work with Deephaven, see the [Quick start](https://deephaven.io/core/docs/tutorials/quickstart). + +To launch Deephaven, execute the following in your deployment directory: + +```bash +compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python/NLTK/docker-compose.yml +curl -O "${compose_file}" + +docker-compose pull +docker-compose up -d +``` diff --git a/containers/python/NLTK/docker-compose.yml b/containers/python/NLTK/docker-compose.yml new file mode 100644 index 00000000000..4ccfabd04d0 --- /dev/null +++ b/containers/python/NLTK/docker-compose.yml @@ -0,0 +1,42 @@ +version: "3.4" + +services: + grpc-api: + image: ghcr.io/deephaven/nltk-base:${VERSION:-latest} + expose: + - '8080' + volumes: + - ./data:/data + - api-cache:/cache + environment: + - JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=python + + web: + image: ghcr.io/deephaven/web:${VERSION:-latest} + expose: + - '80' + volumes: + - ./data:/data + - web-tmp:/tmp + + grpc-proxy: + image: ghcr.io/deephaven/grpc-proxy:${VERSION:-latest} + environment: + - BACKEND_ADDR=grpc-api:8080 + depends_on: + - grpc-api + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - grpc-api + ports: + - "${PORT:-10000}:10000" + +volumes: + web-tmp: + api-cache: diff --git a/containers/python/PyTorch/README.md b/containers/python/PyTorch/README.md new file mode 100644 index 00000000000..0822c21dd54 --- /dev/null +++ b/containers/python/PyTorch/README.md @@ -0,0 +1,23 @@ +# Overview + +A Docker Compose deployment for [Deephaven](https://deephaven.io). + +## Features + +- [Deephaven](https://deephaven.io) +- [Python](https://python.org) +- [PyTorch](https://pytorch.org/) + +## Launch Deephaven + +For launch instructions, see the [README](https://github.com/deephaven/deephaven-core/#launch-python). For full instructions to work with Deephaven, see the [Quick start](https://deephaven.io/core/docs/tutorials/quickstart). + +To launch Deephaven, execute the following in your deployment directory: + +```bash +compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python/PyTorch/docker-compose.yml +curl -O "${compose_file}" + +docker-compose pull +docker-compose up -d +``` diff --git a/containers/python/PyTorch/docker-compose.yml b/containers/python/PyTorch/docker-compose.yml new file mode 100644 index 00000000000..676b2611f25 --- /dev/null +++ b/containers/python/PyTorch/docker-compose.yml @@ -0,0 +1,42 @@ +version: "3.4" + +services: + grpc-api: + image: ghcr.io/deephaven/pytorch-base:${VERSION:-latest} + expose: + - '8080' + volumes: + - ./data:/data + - api-cache:/cache + environment: + - JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=python + + web: + image: ghcr.io/deephaven/web:${VERSION:-latest} + expose: + - '80' + volumes: + - ./data:/data + - web-tmp:/tmp + + grpc-proxy: + image: ghcr.io/deephaven/grpc-proxy:${VERSION:-latest} + environment: + - BACKEND_ADDR=grpc-api:8080 + depends_on: + - grpc-api + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - grpc-api + ports: + - "${PORT:-10000}:10000" + +volumes: + web-tmp: + api-cache: diff --git a/containers/python/SciKit-Learn/README.md b/containers/python/SciKit-Learn/README.md new file mode 100644 index 00000000000..6ecc68230b8 --- /dev/null +++ b/containers/python/SciKit-Learn/README.md @@ -0,0 +1,23 @@ +# Overview + +A Docker Compose deployment for [Deephaven](https://deephaven.io). + +## Features + +- [Deephaven](https://deephaven.io) +- [Python](https://python.org) +- [SciKit-Learn](https://scikit-learn.org/stable/) + +## Launch Deephaven + +For launch instructions, see the [README](https://github.com/deephaven/deephaven-core/#launch-python). For full instructions to work with Deephaven, see the [Quick start](https://deephaven.io/core/docs/tutorials/quickstart). + +To launch Deephaven, execute the following in your deployment directory: + +```bash +compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python/SciKit-Learn/docker-compose.yml +curl -O "${compose_file}" + +docker-compose pull +docker-compose up -d +``` diff --git a/containers/python/SciKit-Learn/docker-compose.yml b/containers/python/SciKit-Learn/docker-compose.yml new file mode 100644 index 00000000000..431fba8a260 --- /dev/null +++ b/containers/python/SciKit-Learn/docker-compose.yml @@ -0,0 +1,42 @@ +version: "3.4" + +services: + grpc-api: + image: ghcr.io/deephaven/sklearn-base:${VERSION:-latest} + expose: + - '8080' + volumes: + - ./data:/data + - api-cache:/cache + environment: + - JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=python + + web: + image: ghcr.io/deephaven/web:${VERSION:-latest} + expose: + - '80' + volumes: + - ./data:/data + - web-tmp:/tmp + + grpc-proxy: + image: ghcr.io/deephaven/grpc-proxy:${VERSION:-latest} + environment: + - BACKEND_ADDR=grpc-api:8080 + depends_on: + - grpc-api + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - grpc-api + ports: + - "${PORT:-10000}:10000" + +volumes: + web-tmp: + api-cache: diff --git a/containers/python/TensorFlow/README.md b/containers/python/TensorFlow/README.md new file mode 100644 index 00000000000..01f421a3dea --- /dev/null +++ b/containers/python/TensorFlow/README.md @@ -0,0 +1,23 @@ +# Overview + +A Docker Compose deployment for [Deephaven](https://deephaven.io). + +## Features + +- [Deephaven](https://deephaven.io) +- [Python](https://python.org/) scripting +- [TensorFlow](https://www.tensorflow.org/) + +## Launch Deephaven + +For launch instructions, see the [README](https://github.com/deephaven/deephaven-core#launch-python-with-example-data). For full instructions to work with Deephaven, see the [Quick start](https://deephaven.io/core/docs/tutorials/quickstart). + +To launch Deephaven, execute the following in your deployment directory: + +```bash +compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python/TensorFlow/docker-compose.yml +curl -O "${compose_file}" + +docker-compose pull +docker-compose up -d +``` diff --git a/containers/python/TensorFlow/docker-compose.yml b/containers/python/TensorFlow/docker-compose.yml new file mode 100644 index 00000000000..26420aed6e6 --- /dev/null +++ b/containers/python/TensorFlow/docker-compose.yml @@ -0,0 +1,42 @@ +version: "3.4" + +services: + grpc-api: + image: ghcr.io/deephaven/tensorflow-base:${VERSION:-latest} + expose: + - '8080' + volumes: + - ./data:/data + - api-cache:/cache + environment: + - JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=python + + web: + image: ghcr.io/deephaven/web:${VERSION:-latest} + expose: + - '80' + volumes: + - ./data:/data + - web-tmp:/tmp + + grpc-proxy: + image: ghcr.io/deephaven/grpc-proxy:${VERSION:-latest} + environment: + - BACKEND_ADDR=grpc-api:8080 + depends_on: + - grpc-api + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - grpc-api + ports: + - "${PORT:-10000}:10000" + +volumes: + web-tmp: + api-cache: diff --git a/containers/python/README.md b/containers/python/base/README.md similarity index 91% rename from containers/python/README.md rename to containers/python/base/README.md index d90e64e36bf..5e90f35377a 100644 --- a/containers/python/README.md +++ b/containers/python/base/README.md @@ -14,7 +14,7 @@ For launch instructions, see the [README](https://github.com/deephaven/deephaven To launch Deephaven, execute the following in your deployment directory: ```bash -compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python/docker-compose.yml +compose_file=https://raw.githubusercontent.com/deephaven/deephaven-core/main/containers/python/base/docker-compose.yml curl -O "${compose_file}" docker-compose pull diff --git a/containers/python/docker-compose.yml b/containers/python/base/docker-compose.yml similarity index 100% rename from containers/python/docker-compose.yml rename to containers/python/base/docker-compose.yml