docspell
docspell copied to clipboard
error with docker logging enviroment variable
Getting the following error message:
Using config from environment variables! pureconfig.error.ConfigReaderException: Cannot convert configuration to a docspell.restserver.Config. Failures are: at 'docspell.server.logging.levels.""org"': - (properties) Expected type STRING. Found OBJECT instead.
when I use the following docker environment variables:
DOCSPELL_SERVER_LOGGING_LEVELS_"ORG_FLYWAYDB": 'Info' DOCSPELL_SERVER_LOGGING_LEVELS_"ORG_HTTP4S": 'Info'
Please help. Thanks.
Hi @GenesisAdam , I'm afraid this is not working with env vars at the moment. You'd need to use a config file. Unfortunately, the docs show this bad example, though :-|