michalklempa / docker-nifi-registry

Unofficial Docker Image For NiFi Registry
Apache License 2.0
25 stars 13 forks source link

Provide a way to extract H2 database contents by using named volume #5

Open michalklempa opened 5 years ago

michalklempa commented 5 years ago

Where does H2 store data? Can we provide a way to not loose the data if container is destroyed? This can be useful for Kubernetes and docker swarm environments.

michalklempa commented 5 years ago
NIFI_REGISTRY_DB_URL: jdbc:h2:/opt/nifi-registry/database/nifi-registry-primary;AUTOCOMMIT=OFF;DB_CLOSE_ON_EXIT=FALSE;LOCK_MODE=3;LOCK_TIMEOUT=25000;WRITE_DELAY=0;AUTO_SERVER=FALSE