New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DIUN_PROVIDERS_DOCKER causing config issues - v4 #107
Comments
Yes that's because at least one provider is required. In your case you want to only rely on configuration file so you have to defined it through version: "3.2"
services:
diun:
image: crazymax/diun:latest
container_name: diun
volumes:
- diun_data:/data
- ./diun.yml:/diun.yml:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- "CONFIG=/diun.yml"
- "TZ=Europe/London"
- "LOG_LEVEL=debug"
- "LOG_JSON=false"
restart: unless-stopped
labels:
- diun.enable=true
volumes:
diun_data:
external: true |
@thespad I have updated the Migration notes about this. Thanks for your feedback. |
Ah, that explains it. Didn't realise it wouldn't parse the config file automatically any more. Thanks. |
Behaviour
Steps to reproduce this issue
DIUN_PROVIDERS_DOCKER=true
set on Diun containerExpected behaviour
Container should parse the config as valid.
Actual behaviour
Without
DIUN_PROVIDERS_DOCKER=true
container is unable to parse config and fails to start. WithDIUN_PROVIDERS_DOCKER=true
it overrides any provider settings in the diun.yml with the default values.Configuration
uname -a
) : Linux pi1 4.19.118-v7+ #1311 SMP Mon Apr 27 14:21:24 BST 2020 armv7l GNU/LinuxLogs
Without
DIUN_PROVIDERS_DOCKER=true
With
DIUN_PROVIDERS_DOCKER=true
Compose
The text was updated successfully, but these errors were encountered: