Skip to content
Discussion options

You must be logged in to vote

Found it! It is not possible to mount a file, only a volume in docker compose. So I changed the example docker-compose.yml to this:

services:
  carconnectivity-mqtt:
    image: "tillsteinbach/carconnectivity-mqtt:latest"
    environment:
      - TZ=Europe/Amsterdam
      - LANG=de_DE
      - LC_ALL=de_DE
      - CONFIG_FILE=/config/conf.json
    volumes:
      - .:/config/

That solved it for me :-)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by H4nsie
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant