teacat / chaturbate-dvr

😎 Chaturbate DVR - auto records the stream when it goes online!
MIT License
154 stars 22 forks source link

chaturbate_channels.json not accesible #58

Closed SamirPRO1 closed 3 months ago

SamirPRO1 commented 7 months ago

Iam running a docker container, and I binded the /videos/ folder to a folder in my system, but the file chaturbate_channels.json is saved directly in the WORK DIR so I cannot do the same to access it, if I bind the WORK DIR to a folder in my system the container doesn't run, so what should I do?

YamiOdymel commented 7 months ago

I don't use Docker so I'm not sure. But you can try binding the chaturbate_channels.json file to host, like this?

$ docker run -v $(pwd)/chaturbate_channels.json:/usr/src/app/chaturbate_channels.json chaturbate-dvr

Perhaps you will need to create an empty chaturbate_channels.json in your host first. Make sure the content of it is [].

image


docker - How to mount a single file in a volume - Stack Overflow