Cribl Dockers are not persisting config
Hi, not sure if this is a FREE license thing or something I have wrong with docker. Here is my docker compose.
version: 3.5 services: master: image: ${CRIBL_IMAGE:-cribl/cribl:latest} environment: - CRIBL_DIST_MODE=master - CRIBL_DIST_MASTER_URL=tcp://criblmaster@0.0.0.0:4200 - CRIBL_VOLUME_DIR=/share/homes/chris/cribl:/opt/cribl/config-volume ports: - 19000:9000 hostname: cribl_leader volumes: - /share/homes/chris/cribl:/opt/cribl/config-volume workers: image: ${CRIBL_IMAGE:-cribl/cribl:latest} depends_on: - master hostname: cribl_worker environment: - CRIBL_DIST_MODE=worker - CRIBL_DIST_MASTER_URL=tcp://criblmaster@0.0.0.0:4200 ports: - 9000
Every-time I modify the compose and redeploy, I have to re-input config (user / password, registration, etc). The homes DIR is on the host and has open permissions. I do see data being written in there. Is there a setting I may be missing? Thank you Chris
Best Answer
-
Hi @chrisboy68, the environment variable for the master (leader) container is not set correctly. This should be set to
CRIBL_VOLUME_DIR=/opt/cribl/config-volume
Take a look at this thread for another example: When using containers, is there a way to make local changes persistent? - #2 by bdalpe
Please try this and let us know if you have better results.
0
Answers
-
Hi @chrisboy68, the environment variable for the master (leader) container is not set correctly. This should be set to
CRIBL_VOLUME_DIR=/opt/cribl/config-volume
Take a look at this thread for another example: When using containers, is there a way to make local changes persistent? - #2 by bdalpe
Please try this and let us know if you have better results.
0 -
Thank you. Ill take a look.
0 -
This worked. Thank you!
0