Trying to use H20 with docker-compose. Their website has instructions on running with Docker which I'm using as a basis.
I can't work out how to persist the appropriate folders to keep the models accessible in H2O Flow. Which folders do I need to persist locally for this?
I've used the Dockerfile here and the docker-compose.yaml
below. I'm able to store models locally by mounting the /tmp
folder, but which other folders do I need to mount?
version: '3.1'
services :
h2o-svc:
build:
context: .
dockerfile: Dockerfile
image: h2o:latest
restart: always
volumes:
- ./app/h2o_models:/tmp
ports:
- 54321:54321
H2O-3 has an in-memory architecture.
It does not write anything to disk unless you ask it to, and the location it persists to (when saving a model, for example) is the location you manually give it.
I suggest you try this without docker first, to get the hang of what to expect when H2O-3 restarts.