Cronicle icon indicating copy to clipboard operation
Cronicle copied to clipboard

Setting up storage via environment variables

Open vectorkovacspeter opened this issue 2 years ago • 1 comments

Is it possible to setup the Storage configuration value via environment variables?

The option I like to set in this particular case is the S3 engine options:

  • accessKeyId
  • secretAccessKey
  • Bucket

vectorkovacspeter avatar Sep 04 '23 11:09 vectorkovacspeter

Yup, totally, see the docs here for the environment variable syntax: https://github.com/jhuckaby/Cronicle/blob/master/docs/CommandLine.md#environment-variables

So in your case, you'd want:

CRONICLE_Storage__AWS__credentials__accessKeyId
CRONICLE_Storage__AWS__credentials__secretAccessKey
CRONICLE_Storage__S3__params__Bucket

jhuckaby avatar Sep 04 '23 17:09 jhuckaby