synzen / MonitoRSS

MonitoRSS RSS bot (formerly known as Discord.RSS) with customizable feeds. https://monitorss.xyz
https://monitorss.xyz
MIT License
1.08k stars 240 forks source link

Editing config in Docker container #136

Closed wisewtf closed 4 years ago

wisewtf commented 4 years ago

Is there no way to mount a volume on host from the docker container so that I can modify the config.json easily without having to exec into the container or any other ugly looking ways?

synzen commented 4 years ago

You should be using the environment variables (as specified in the steps at https://github.com/synzen/Discord.RSS/wiki/Docker) to pass in the details to config.json, but for whatever reason if you insist on directly modifying the config, you can use bind mounts (https://docs.docker.com/storage/bind-mounts/) to have the container reference the file on your host file system