Skip to content

Commit

Permalink
Upgrade to Jetty images (#2945)
Browse files Browse the repository at this point in the history
* Update docker-compose files to use jetty image, remove use of `notebook` and `reverse-proxy` services

* netty to jetty, also remove traefik label from all files

* Add deephaven port and remove jetty from names, as there is no jetty suffix

* Add port 6006 to TensorFlow and PyTorch examples for TensorBoard support

* Add latest tag to examples containers
  • Loading branch information
jjbrosnan authored Oct 12, 2022
1 parent e582a42 commit 9034a48
Show file tree
Hide file tree
Showing 15 changed files with 70 additions and 549 deletions.
44 changes: 6 additions & 38 deletions containers/groovy-examples/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,17 @@
version: "3.4"

services:
server:
image: ghcr.io/deephaven/server:${VERSION:-latest}
expose:
- '8080'
deephaven:
image: ghcr.io/deephaven/server-slim:latest
ports:
- "${DEEPHAVEN_PORT:-10000}:10000"
volumes:
- ./data:/data
- api-cache:/cache
environment:
- JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=groovy

web:
image: ghcr.io/deephaven/web:${VERSION:-latest}
expose:
- '8080'
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:
- "${DEEPHAVEN_PORT:-10000}:10000"
- JAVA_OPTS=-Xmx4g

examples:
image: ghcr.io/deephaven/examples
image: ghcr.io/deephaven/examples:latest
volumes:
- ./data:/data
command: initialize

volumes:
web-tmp:
api-cache:

42 changes: 5 additions & 37 deletions containers/groovy/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,11 @@
version: "3.4"

services:
server:
image: ghcr.io/deephaven/server:${VERSION:-latest}
expose:
- '8080'
deephaven:
image: ghcr.io/deephaven/server-slim:latest
ports:
- "${DEEPHAVEN_PORT:-10000}:10000"
volumes:
- ./data:/data
- api-cache:/cache
environment:
- JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=groovy

web:
image: ghcr.io/deephaven/web:${VERSION:-latest}
expose:
- '8080'
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:
- "${DEEPHAVEN_PORT:-10000}:10000"

volumes:
web-tmp:
api-cache:

- JAVA_OPTS=-Xmx4g
43 changes: 5 additions & 38 deletions containers/python-examples-redpanda/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,21 @@
version: "3.4"

services:
server:
image: ghcr.io/deephaven/server:${VERSION:-latest}
expose:
- '8080'
deephaven:
image: ghcr.io/deephaven/server:latest
ports:
- "${DEEPHAVEN_PORT:-10000}:10000"
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:
- "${DEEPHAVEN_PORT:-10000}:10000"
- JAVA_OPTS=-Xmx4g

examples:
image: ghcr.io/deephaven/examples
volumes:
- ./data:/data
command: initialize


redpanda:
command:
- redpanda
Expand Down Expand Up @@ -75,8 +47,3 @@ services:
KAFKA_BOOTSTRAP_SERVERS: redpanda:9092
APPLICATION_ID: registry_id
APPLICATION_SERVER: localhost:9000

volumes:
web-tmp:
api-cache:

41 changes: 4 additions & 37 deletions containers/python-examples/All-AI/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,17 @@
version: "3.4"

services:
server:
image: ghcr.io/deephaven/server-all-ai:${VERSION:-latest}
expose:
- '8080'
volumes:
- ./data:/data
- api-cache:/cache
environment:
- JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=python
deephaven:
image: ghcr.io/deephaven/server-all-ai:latest
ports:
- 6006:6006

web:
image: ghcr.io/deephaven/web:${VERSION:-latest}
expose:
- '8080'
- "${DEEPHAVEN_PORT:-10000}:10000"
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:
- "${DEEPHAVEN_PORT:-10000}:10000"
- JAVA_OPTS=-Xmx4g

examples:
image: ghcr.io/deephaven/examples:latest
volumes:
- ./data:/data
command: initialize

volumes:
web-tmp:
api-cache:
41 changes: 5 additions & 36 deletions containers/python-examples/NLTK/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,17 @@
version: "3.4"

services:
server:
image: ghcr.io/deephaven/server-nltk:${VERSION:-latest}
expose:
- '8080'
deephaven:
image: ghcr.io/deephaven/server-nltk:latest
ports:
- "${DEEPHAVEN_PORT:-10000}:10000"
volumes:
- ./data:/data
- api-cache:/cache
environment:
- JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=python

web:
image: ghcr.io/deephaven/web:${VERSION:-latest}
expose:
- '8080'
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:
- "${DEEPHAVEN_PORT:-10000}:10000"
- JAVA_OPTS=-Xmx4g

examples:
image: ghcr.io/deephaven/examples:latest
volumes:
- ./data:/data
command: initialize

volumes:
web-tmp:
api-cache:
40 changes: 4 additions & 36 deletions containers/python-examples/PyTorch/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,18 @@
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
deephaven:
image: ghcr.io/deephaven/server-pytorch:latest
ports:
- "${DEEPHAVEN_PORT:-10000}:10000"
- 6006:6006

web:
image: ghcr.io/deephaven/web:${VERSION:-latest}
expose:
- '8080'
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:
- "${DEEPHAVEN_PORT:-10000}:10000"
- JAVA_OPTS=-Xmx4g

examples:
image: ghcr.io/deephaven/examples:latest
volumes:
- ./data:/data
command: initialize

volumes:
web-tmp:
api-cache:
41 changes: 5 additions & 36 deletions containers/python-examples/SciKit-Learn/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,17 @@
version: "3.4"

services:
server:
image: ghcr.io/deephaven/server-sklearn:${VERSION:-latest}
expose:
- '8080'
deephaven:
image: ghcr.io/deephaven/server-sklearn:latest
ports:
- "${DEEPHAVEN_PORT:-10000}:10000"
volumes:
- ./data:/data
- api-cache:/cache
environment:
- JAVA_TOOL_OPTIONS=-Xmx4g -Ddeephaven.console.type=python

web:
image: ghcr.io/deephaven/web:${VERSION:-latest}
expose:
- '8080'
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:
- "${DEEPHAVEN_PORT:-10000}:10000"
- JAVA_OPTS=-Xmx4g

examples:
image: ghcr.io/deephaven/examples:latest
volumes:
- ./data:/data
command: initialize

volumes:
web-tmp:
api-cache:
Loading

0 comments on commit 9034a48

Please sign in to comment.