Sign inSign up

matthk72/selfoss-wf

By matthk72

Updated about 4 years ago

A Selfoss docker including a different webfront

Image
0

50K+

matthk72/selfoss-wf repository overview

Selfoss-WF on Docker

This is a docker compose for Selfoss and my Selfoss-Webfront all packaged together ready to go.

Features

  • A robust RSS solution to get content into a database
  • A responsive newsite styled webfront to read your news
  • Conveniently packaged into a single docker compose
  • It should now also work on both arm64 and amd64 platforms

Installation

  1. Clone this repository with git clone https://github.com/MatthK/swfd && cd swfd
  2. Adjust the defined database/username/password in the nano docker-compose.yml You might also have to replace the image with matthk72/selfoss-wf:latest-amd64 (just add the -amd64) in case you don't use a Raspberry Pi
  3. Type docker-compose up -d to fire up the containers. Be patient and give the database enough time to initialize and get fully up for the first time. Check the docker logs MySql to see the ready for connections. The database will restart once automatically
  4. Wait till the database has initialized. Then stop the containers again with docker-compose down
  5. Update the database/username/password in the nano swfd/Selfoss/config.ini and copy paste the whole content into the file on the docker volume sudo nano /var/lib/docker/volumes/swfd_Selfoss/_data/config.ini
  6. Start the containers again with docker-compose up -d. Again give it enough time for MySql to boot up. Check the logs again: docker logs MySql and docker logs Selfoss
  7. Go to http://ip-address:8080/ to get to the Selfoss interface and create your RSS feeds The tags defined have to match the categories in the next point. You must have 11 different tags. Multiple feeds can be defined for one tag. Either manually refresh the sources, or wait 15 minutes till the next cron job picks it up
  8. Update the database/username/password in the constants.php and based on the feeds and tags you have defined, adjust the 11 categories nano swfd/Webfront/constants.php
  9. Go once to http://ip-address/cfn.php to create a required function in the database. After that, you can access your personal newspaper at http://ip-address/
  10. Optional, put a Reverse proxy in front # to give it a nice domain name
  11. Enjoy

Dockerfile

In case you need the image for a different platform, you can build it yourself using the Dockerfile.

Sample feeds

Below are some of the feeds I am using. Be aware that some work a bit better than others, and the more active ones (BBC, Yahoo, CNBC) tend to drown the ones with more quality stuff but that update less often. Some content gets nicely fully downloaded, some feeds don't work so well and only teasers get retrieved or the formatting is a bit off.

Many feeds have also other categories available, simply look at the URLs and see how you could possibly modify them to find an overview page, or just with trial and error.

English Feeds
FeedCategoryComment
AirwayAviation
Airways MagazineAviation
AsiaTimesWorld
AsiaTimesChina(there are many categories, just adapt according to your interest)
AutoSportSport
BBC NewsWorld(see https://www.bbc.co.uk/news/10628494#userss for different feeds)
BGRTechnology
Channel News AsiaAsia
CNBCWorld(International)
CNBCBusiness
CNBCTravel
CNBCAsia
CNBCWorld(Europe)
CNBCBusiness
CNBCTechnology
EngadgetTechnology
FIASport
HKG LivingHKG
IBTWorldthey have various categories like sports/science/technology
Leeham NewsAviation
Little white liesFilm
MoviewebFilm
NASAScience
NatureScience
Out of TownTravel
PoliticoWorldEconomy, Defense
RTWorld
RTHKHKG
Science DailyScience
SCMPVarious(most content is paid, with some free stuff. It only loads teasers here)
Seattle TimesAviation
TechRadarTechnology
The InterceptWorld
VoxEUBusiness
Wired NewsTechnology
Yahoo NewsWorld
German Feeds
FeedCategoryComment
aeroTelegraphAviation
BlickSwiss
Formula 1Sport
SRFSport

Credits

The docker is based on Pamplemousse/dockerfiles which created a standalone Selfoss docker. I added my instance of the webfront and packaged it with a MySQL database to get it all in one package.

Tag summary

Content type

Image

Digest

sha256:b00ee5131

Size

157.8 MB

Last updated

about 4 years ago

docker pull matthk72/selfoss-wf