I was wondering what the options were having freshrss in any sort of high availability without using swarm and/or kubernetes. I was thinking either if I use sqlite stored on a shared filesystem (either local, NFS, or something fancy like ceph), or if using mysql and copying the volume data, then they should all reference the same DB.
When testing using sqlite on a local bind mount, it seems to work really well. I configured it in one container, then they all work, but I suspect this isn't supported.
version: "3.3"services:
freshrss-1:
container_name: Freshrss-Compose-1hostname: freshrss-compose-1image: freshrss/freshrss:latestrestart: alwaysvolumes:
- /Data/RSSS/data:/var/www/FreshRSS/data/
- /Data/RSSS/extensions:/var/www/FreshRSS/extensionsports:
- 8081:80freshrss-2:
container_name: Freshrss-Compose-2hostname: freshrss-compose-2image: freshrss/freshrss:latestrestart: alwaysvolumes:
- /Data/RSSS/data:/var/www/FreshRSS/data/
- /Data/RSSS/extensions:/var/www/FreshRSS/extensionsports:
- 8082:80freshrss-3:
container_name: Freshrss-Compose-3hostname: freshrss-compose-3image: freshrss/freshrss:latestrestart: alwaysvolumes:
- /Data/RSSS/data:/var/www/FreshRSS/data/
- /Data/RSSS/extensions:/var/www/FreshRSS/extensionsports:
- 8083:80