Skip to content

Commit

Permalink
Add base+ images to repo and info to README (#1803)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jjbrosnan committed Jan 18, 2022
1 parent 146da02 commit 0da085c
Show file tree
Hide file tree
Showing 21 changed files with 639 additions and 13 deletions.
98 changes: 88 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
```
Expand All @@ -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.
Expand Down
24 changes: 24 additions & 0 deletions containers/python-examples/NLTK/README.md
Original file line number Diff line number Diff line change
@@ -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
```
48 changes: 48 additions & 0 deletions containers/python-examples/NLTK/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:
24 changes: 24 additions & 0 deletions containers/python-examples/PyTorch/README.md
Original file line number Diff line number Diff line change
@@ -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
```
48 changes: 48 additions & 0 deletions containers/python-examples/PyTorch/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:
24 changes: 24 additions & 0 deletions containers/python-examples/SciKit-Learn/README.md
Original file line number Diff line number Diff line change
@@ -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
```
48 changes: 48 additions & 0 deletions containers/python-examples/SciKit-Learn/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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:
24 changes: 24 additions & 0 deletions containers/python-examples/TensorFlow/README.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit 0da085c

Please sign in to comment.