ncarlier / feedpushr

A simple feed aggregator daemon with sugar on top.
GNU General Public License v3.0
334 stars 25 forks source link

Empty on restart #85

Closed pieman3000 closed 12 months ago

pieman3000 commented 12 months ago

Running a feedpushr in a docker container, when the container is restarted all of the data disappears.

I assume the solution is to set up a volume, however the folders to use in the volume are not listed in the repo.

Could someone please let me know which folders I need to link.

Thanks

ncarlier commented 12 months ago

Hi,

By default the database is next to the executable. You can configure the database location: https://github.com/ncarlier/feedpushr/blob/master/etc/default/feedpushr.env#L27

Docker usage example:

docker run -e FP_DB=boltdb:///var/opt/feedpushr/data.db  -v ./data:/var/opt/feedpushr  ncarlier/feedpushr
pieman3000 commented 12 months ago

That seems to have fixed the problem.

Many thanks, especially for the quick reply :)