Replace $HOST_KAFKA_DATA_DIR with the path to the mounts/kafka-data directory, and $PATH_TO_CONFIG_FILE with the path of the configuration file you created. You would replace $HOST_DATA_DIR with the path to the mounts/data directory you created on the host machine.
env-file = $PATH_TO_CONFIG_FILE humio/humio v $PATH_TO_READONLY_FILES:/etc/humio:ro \ v $HOST_KAFKA_DATA_DIR:/data/kafka-data \ Shell docker run -v $HOST_DATA_DIR:/data \