1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 09:46:23 +00:00
Files
geek-cookbook/manuscript/recipes/rss-bridge.md
2021-10-15 11:32:10 +13:00

1.7 KiB

RSS Bridge

Do you hate having to access multiple sites to view specific content? RSS-Bridge can convert content from a wide variety of websites (such as Reddit, Facebook, Twitter) so that it can be viewed in a structured and consistent way, all from one place (Your feed reader)

RSS-Bridge Screenshot

--8<-- "recipe-standard-ingredients.md"

Preparation

Setup data locations

First we create a directory to hold the data which RSS Bridge will serve:

mkdir /var/data/config/rssbridge
cd /var/data/config/rssbridge

Setup Docker Swarm

Create a docker swarm config file in docker-compose syntax (v3), something like this:

--8<-- "premix-cta.md"

version: '3'
services:
  rss:
    image: rssbridge/rss-bridge:latest
    volumes:
      - /var/data/config/rssbridge:/config
    deploy:
      labels:
        # traefik common
        - traefik.enable=true
        - traefik.docker.network=traefik_public

        # traefikv1
        - traefik.frontend.rule=Host:rssbridge.example.com
        - traefik.port=80     

        # traefikv2
        - "traefik.http.routers.rssbridge.rule=Host(`rssbridge.example.com`)"
        - "traefik.http.services.rssbridge.loadbalancer.server.port=80" 
    networks:
      - traefik_public

networks:
  traefik_public:
    external: true

Serving

Deploy the bridge!

Launch the RSS Bridge stack by running docker stack deploy rssbridge -c <path -to-docker-compose.yml>

--8<-- "recipe-footer.md"