Skip to content

Trouble with setting evcc with docker and mounted volumes #16222

Answered by coderph0x
jaytonic asked this question in Docker
Discussion options

You must be logged in to vote

Okay, I can understand the reasoning. You can define another config file with the -c (or long --config) switch, but I never tried if the docker image respects it if you place it in your compose file (or whatever you're using).
That way you could put the yaml file into the .evcc share and only mount that one.

Flags:
  -c, --config string   Config file (default "~/evcc.yaml" or "/etc/evcc.yaml")
  -h, --help            Help
      --ignore-db       Run command ignoring service database
  -l, --log string      Log level (fatal, error, warn, info, debug, trace) (default "info")
      --log-headers     Log headers
      --metrics         Expose metrics
      --profile         Expose pprof profi…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
1 reply
@jaytonic
Comment options

Comment options

You must be logged in to vote
8 replies
@jaytonic
Comment options

@coderph0x
Comment options

@jaytonic
Comment options

@coderph0x
Comment options

Answer selected by jaytonic
@jaytonic
Comment options

@GrimmiMeloni
Comment options

GrimmiMeloni Sep 21, 2024
Collaborator Sponsor

@coderph0x
Comment options

@jaytonic
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Docker
Labels
None yet
4 participants