From 0da085ca5edbeabd823966f7f91269e7df2fd77b Mon Sep 17 00:00:00 2001 From: JJ Brosnan <84038776+jjbrosnan@users.noreply.github.com> Date: Tue, 18 Jan 2022 14:40:30 -0500 Subject: [PATCH] Add base+ images to repo and info to README (#1803) * Update with base+ images. README also updated. This will also require updating a good portion of the docs repo. * Fix naming (grpc-api to server and ""-base to server-"") * Updates - remove references to old packages --- README.md | 98 +++++++++++++++++-- containers/python-examples/NLTK/README.md | 24 +++++ .../python-examples/NLTK/docker-compose.yml | 48 +++++++++ containers/python-examples/PyTorch/README.md | 24 +++++ .../PyTorch/docker-compose.yml | 48 +++++++++ .../python-examples/SciKit-Learn/README.md | 24 +++++ .../SciKit-Learn/docker-compose.yml | 48 +++++++++ .../python-examples/TensorFlow/README.md | 24 +++++ .../TensorFlow/docker-compose.yml | 48 +++++++++ .../python-examples/{ => base}/README.md | 2 +- .../{ => base}/docker-compose.yml | 2 +- containers/python/NLTK/README.md | 23 +++++ containers/python/NLTK/docker-compose.yml | 42 ++++++++ containers/python/PyTorch/README.md | 23 +++++ containers/python/PyTorch/docker-compose.yml | 42 ++++++++ containers/python/SciKit-Learn/README.md | 23 +++++ .../python/SciKit-Learn/docker-compose.yml | 42 ++++++++ containers/python/TensorFlow/README.md | 23 +++++ .../python/TensorFlow/docker-compose.yml | 42 ++++++++ containers/python/{ => base}/README.md | 2 +- .../python/{ => base}/docker-compose.yml | 0 21 files changed, 639 insertions(+), 13 deletions(-) create mode 100644 containers/python-examples/NLTK/README.md create mode 100644 containers/python-examples/NLTK/docker-compose.yml create mode 100644 containers/python-examples/PyTorch/README.md create mode 100644 containers/python-examples/PyTorch/docker-compose.yml create mode 100644 containers/python-examples/SciKit-Learn/README.md create mode 100644 containers/python-examples/SciKit-Learn/docker-compose.yml create mode 100644 containers/python-examples/TensorFlow/README.md create mode 100644 containers/python-examples/TensorFlow/docker-compose.yml rename containers/python-examples/{ => base}/README.md (91%) rename containers/python-examples/{ => base}/docker-compose.yml (95%) create mode 100644 containers/python/NLTK/README.md create mode 100644 containers/python/NLTK/docker-compose.yml create mode 100644 containers/python/PyTorch/README.md create mode 100644 containers/python/PyTorch/docker-compose.yml create mode 100644 containers/python/SciKit-Learn/README.md create mode 100644 containers/python/SciKit-Learn/docker-compose.yml create mode 100644 containers/python/TensorFlow/README.md create mode 100644 containers/python/TensorFlow/docker-compose.yml rename containers/python/{ => base}/README.md (91%) rename containers/python/{ => base}/docker-compose.yml (100%) diff --git a/README.md b/README.md index 570665f8c9e..34cc3f3a746 100644 --- a/README.md +++ b/README.md @@ -22,13 +22,13 @@ which functions as the data backbone for prominent hedge funds, banks, and finan ## Supported Languages -| Language | Server Application | Client Application (OpenAPI) | -| ------------- | ------------------ | ---------------------------- | -| Python | Yes | Yes | -| Java / Groovy | Yes | Yes | -| C++ | No | Yes | -| JavaScript | No | Yes | -| gRPC | - | Yes | +| Language | Server Application | Client Application | +| ------------- | ------------------ | ------------------ | +| Python | Yes | Yes | +| Java / Groovy | Yes | Yes | +| C++ | No | Yes | +| JavaScript | No | Yes | +| gRPC | - | Yes | ## Run Deephaven @@ -79,18 +79,97 @@ 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. + +```bash +curl https://raw.githubusercontent.com/deephaven/deephaven-core/main/containeres/python/TensorFlow/docker-compose.yml -O +docker-compose pull +docker-compose up -d +``` ### 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 +184,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..49755b949cc --- /dev/null +++ b/containers/python-examples/NLTK/docker-compose.yml @@ -0,0 +1,48 @@ +version: "3.4" + +services: + server: + image: ghcr.io/deephaven/server-nltk:${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=server:8080 + depends_on: + - server + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - server + ports: + - "${PORT:-10000}:10000" + + examples: + image: ghcr.io/deephaven/examples:latest + 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..0d8acffc6f6 --- /dev/null +++ b/containers/python-examples/PyTorch/docker-compose.yml @@ -0,0 +1,48 @@ +version: "3.4" + +services: + server: + image: ghcr.io/deephaven/server-pytorch:${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=server:8080 + depends_on: + - server + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - server + ports: + - "${PORT:-10000}:10000" + + examples: + image: ghcr.io/deephaven/examples:latest + 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..f1236d37bd8 --- /dev/null +++ b/containers/python-examples/SciKit-Learn/docker-compose.yml @@ -0,0 +1,48 @@ +version: "3.4" + +services: + server: + image: ghcr.io/deephaven/server-sklearn:${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=server:8080 + depends_on: + - server + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - server + ports: + - "${PORT:-10000}:10000" + + examples: + image: ghcr.io/deephaven/examples:latest + 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..9a72559ccdd --- /dev/null +++ b/containers/python-examples/TensorFlow/docker-compose.yml @@ -0,0 +1,48 @@ +version: "3.4" + +services: + server: + image: ghcr.io/deephaven/server-tensorflow:${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=server:8080 + depends_on: + - server + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - server + ports: + - "${PORT:-10000}:10000" + + examples: + image: ghcr.io/deephaven/examples:latest + 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 95% rename from containers/python-examples/docker-compose.yml rename to containers/python-examples/base/docker-compose.yml index 9e3f3bfd365..e4633c5104a 100644 --- a/containers/python-examples/docker-compose.yml +++ b/containers/python-examples/base/docker-compose.yml @@ -38,7 +38,7 @@ services: - "${PORT:-10000}:10000" examples: - image: ghcr.io/deephaven/examples + image: ghcr.io/deephaven/examples:latest volumes: - ./data:/data command: initialize 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..3e691154c6e --- /dev/null +++ b/containers/python/NLTK/docker-compose.yml @@ -0,0 +1,42 @@ +version: "3.4" + +services: + server: + image: ghcr.io/deephaven/server-nltk:${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=server:8080 + depends_on: + - server + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - server + 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..3b7a3a669b2 --- /dev/null +++ b/containers/python/PyTorch/docker-compose.yml @@ -0,0 +1,42 @@ +version: "3.4" + +services: + server: + image: ghcr.io/deephaven/server-pytorch:${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=server:8080 + depends_on: + - server + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - server + 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..f86d65b8edc --- /dev/null +++ b/containers/python/SciKit-Learn/docker-compose.yml @@ -0,0 +1,42 @@ +version: "3.4" + +services: + server: + image: ghcr.io/deephaven/server-sklearn:${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=server:8080 + depends_on: + - server + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - server + 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..9d58d878bad --- /dev/null +++ b/containers/python/TensorFlow/docker-compose.yml @@ -0,0 +1,42 @@ +version: "3.4" + +services: + server: + image: ghcr.io/deephaven/server-tensorflow:${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=server:8080 + depends_on: + - server + expose: + - '8080' + + envoy: + image: ghcr.io/deephaven/envoy:${VERSION:-latest} + depends_on: + - web + - grpc-proxy + - server + 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