mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-15 18:56:24 +00:00
Changed RSS Bridge Recipe
This commit is contained in:
BIN
manuscript/images/rssbridge.png
Normal file
BIN
manuscript/images/rssbridge.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
@@ -2,7 +2,7 @@
|
||||
|
||||
[RSS-Bridge](https://github.com/RSS-Bridge/rss-bridge) is a PHP project capable of generating RSS and Atom feeds for websites that don't have one. It can be used on webservers or as a stand-alone application in CLI mode. You can deploy the service in different ways. Such as installing using PHP, Or you can setup using the Docker [Image](https://hub.docker.com/r/rssbridge/rss-bridge).
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
Features include
|
||||
@@ -23,11 +23,11 @@ Features include
|
||||
|
||||
### Setup data locations
|
||||
|
||||
First we create a directory to hold the data which RSS will serve:
|
||||
First we create a directory to hold the data which RSS Bridge will serve:
|
||||
|
||||
```
|
||||
mkdir /var/data/config/rss
|
||||
cd /var/data/config/rss
|
||||
mkdir /var/data/config/rssbridge
|
||||
cd /var/data/config/rssbridge
|
||||
```
|
||||
|
||||
### Setup Docker Swarm
|
||||
@@ -42,7 +42,7 @@ services:
|
||||
rss:
|
||||
image: rssbridge/rss-bridge:latest
|
||||
volumes:
|
||||
- /var/data/config/rss:/config
|
||||
- /var/data/config/rssbridge:/config
|
||||
deploy:
|
||||
labels:
|
||||
# traefik common
|
||||
@@ -50,12 +50,12 @@ services:
|
||||
- traefik.docker.network=traefik_public
|
||||
|
||||
# traefikv1
|
||||
- traefik.frontend.rule=Host:rss.example.com
|
||||
- traefik.frontend.rule=Host:rssbridge.example.com
|
||||
- traefik.port=80
|
||||
|
||||
# traefikv2
|
||||
- "traefik.http.routers.rss.rule=Host(`rss.example.com`)"
|
||||
- "traefik.http.services.rss.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.rssbridge.rule=Host(`rssbridge.example.com`)"
|
||||
- "traefik.http.services.rssbridge.loadbalancer.server.port=80"
|
||||
networks:
|
||||
- traefik_public
|
||||
|
||||
@@ -66,9 +66,10 @@ networks:
|
||||
|
||||
## Serving
|
||||
|
||||
### Launch RSS!
|
||||
### Launch RSS Bridge!
|
||||
|
||||
Launch the RSS stack by running ```docker stack deploy rss -c <path -to-docker-compose.yml>```
|
||||
Launch the RSS Bridge stack by running ```docker stack deploy rssbridge -c <path -to-docker-compose.yml>```
|
||||
|
||||
[^1]: The inclusion of RSS Bridge was due to the efforts of Bencey in our [Discord server](http://chat.funkypenguin.co.nz). Thanks Ben!!
|
||||
|
||||
--8<-- "recipe-footer.md"
|
||||
|
||||
Reference in New Issue
Block a user