zewelor / bt-mqtt-gateway

A simple Python script which provides a Bluetooth to MQTT gateway, easily extensible via custom workers. See https://github.com/zewelor/bt-mqtt-gateway/wiki for more information.
MIT License
548 stars 116 forks source link

Docker Compose Volumes #130

Closed kraineff closed 4 years ago

kraineff commented 4 years ago

Please tell me how I can connect config.yaml file in local folder to docker container? Like MOSQUITTO!

CleanShot 2020-01-02 at 00 36 44@2x
koenvervloesem commented 4 years ago

config

kraineff commented 4 years ago

yes I find a way!

CleanShot 2020-01-02 at 00 45 43@2x
kraineff commented 4 years ago

But now I have error in logs!

CleanShot 2020-01-02 at 00 46 18@2x
koenvervloesem commented 4 years ago

Your container needs the right permissions.

See https://github.com/koenvervloesem/ruuvitag-demo/blob/master/docker-compose.yml for an example.

kraineff commented 4 years ago

Thank you, all work now!

kraineff commented 4 years ago

@koenvervloesem #131 help please if you know!