forked from deephaven/deephaven-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.pyclient.yml
More file actions
33 lines (32 loc) · 1.08 KB
/
Copy pathdocker-compose.pyclient.yml
File metadata and controls
33 lines (32 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
services:
# This just gets the pyclient version without caching it
# Allows the install of the Python client to be cached while still checking the version
pyclient-version:
build:
context: .
dockerfile: ./pyclient.Dockerfile
no_cache: true
target: pypi-version
args:
- DEEPHAVEN_SERVER_IMAGE=${DEEPHAVEN_SERVER_IMAGE}
# This is the server the snapshot tool uses
# It is really used to run the pydeephaven client from the server Python environment
server:
image: deephaven-server-pyclient
build:
context: .
dockerfile: ./pyclient.Dockerfile # Installs pydeephaven to the server
target: server
args:
- DEEPHAVEN_SERVER_IMAGE=${DEEPHAVEN_SERVER_IMAGE}
depends_on:
pyclient-version:
condition: service_completed_successfully
deephaven.local: # This is the server our client will talk to
image: ${DEEPHAVEN_SERVER_IMAGE}
expose:
- 10000
volumes:
- ../data:/data
environment:
- START_OPTS=-Xmx4g -Dauthentication.psk=YOUR_PASSWORD_HERE -Ddeephaven.console.type=python