A simple and secure FreshRSS docker image.
747
This is a Docker image of FreshRSS based on kokaz's work. It has two main improvements over the original version:
You can download the image from the Docker Hub:
$ docker pull andreipoe/freshrss
Alternatively, you can clone the GitHub repository and build the image locally:
$ git clone https://github.com/andreipoe/docker-freshrss.git
$ cd docker-freshrss
$ docker build -t freshrss .
The top part of the Dockerfile contains a number of environment variables that you can set using the -e argument to docker build. The most useful one is FRSS_VERSION, which controls the version of FreshRSS used. For example, to run the latest development version of FreshRSS:
$ docker build -t freshrss:dev --build-arg FRSS_VERSION=dev .
The remaining environment options only control the placement of files inside the container and should not need to be changed under normal usage.
The image exposes two volumes, one for the application data, and one for the logs. These are set to the values of the $FRSS_DATA_DIR and $FRSS_LOG_DIR environment varialbes, respecitvely. By default the following locations are used:
/srv/FreshRSS/data for the data/var/log/freshrss for the logsYou don't need to mount the logs volume (logs will be deleted with the container), but you should mount the data volume to make your configuration persist accross container changes.
The image only exposes port 80 and runs FreshRSS withover http only. Thus, it is recommended to set up a reverse proxy with your own SSL certificate. Hint: search for "nginx reverse proxy" and "let's encrypt".
Below is a typical example of running the docker image:
$ docker run -d --name FreshRSS --restart=unless-stopped -p 127.0.0.1:18880:80 -v /data/freshrss/data:/srv/FreshRSS/data -v /data/freshrss/logs:/var/log/freshrss andreipoe/freshrss
Then, set your reverse proxy to forward to 127.0.0.1:18880.
You are now ready to run FreshRSS. Point your browser to your domain name or IP address, and you should see the setup screen. Please don't set up your admin account over plain http; make sure you have have a vaild TLS certificate and that it is being used.
The setup screen will walk you though creating the intial account (which will be the admin account) and the database. Note that this image does not have a databse server inside, so either select SQLite, or connect it to an existing MySQL/MariaDB server. Before the set up is complete, FreshRSS will check that everything is configured properly, so do make sure that all the checkmarks are green before proceeding.
That's it! Add your favourite sources and start reading without machine learning, tracking, or other privacy-invading "features".
Trouble? Feature or improvement requests? Open an issue.
Interested to contribute back code? Submit a pull request.
Content type
Image
Digest
Size
209.4 MB
Last updated
over 8 years ago
docker pull andreipoe/freshrss