Skip to content

Instantly share code, notes, and snippets.

@bmingles
Created February 4, 2025 20:01
Show Gist options
  • Save bmingles/723a16ca866179406f0990fd23180540 to your computer and use it in GitHub Desktop.
Save bmingles/723a16ca866179406f0990fd23180540 to your computer and use it in GitHub Desktop.
Deephaven Docker with SSL
# Run docker compose using local certs
port=444
auth="-DAuthHandlers=io.deephaven.auth.AnonymousAuthenticationHandler"
start_opts="$auth -Dhttp.port=$port -Dssl.identity.type=privatekey -Dssl.identity.certChainPath=/dev-certs/$certname.crt -Dssl.identity.privateKeyPath=/dev-certs/$certname.key"
DEEPHAVEN_PORT=$port START_OPTS=$start_opts docker compose up "$@"
services:
deephaven:
# image: ghcr.io/deephaven/server:edge
image: ghcr.io/deephaven/server-ui:edge
pull_policy: always
ports:
- "${DEEPHAVEN_PORT:-10000}:10000"
- "444:444"
volumes:
- ../data:/data
- ./certs:/dev-certs
environment:
- START_OPTS=${START_OPTS}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment