mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-05-13 02:41:16 +00:00
Merge branch 'master' of https://github.com/tborychowski/self-hosted-cookbook
* 'master' of https://github.com/tborychowski/self-hosted-cookbook: md screen . miniflux-filter - new version authelia introduced some breaking changes. this commit fixes the config
This commit is contained in:
commit
97677f9b1d
@ -30,9 +30,7 @@ services:
|
||||
environment:
|
||||
- TZ=Europe/Dublin
|
||||
volumes:
|
||||
- ./data:/var/lib/authelia
|
||||
- ./config.yml:/etc/authelia/configuration.yml:ro
|
||||
- ./users.yml:/etc/authelia/users.yml:ro
|
||||
- ./config:/config
|
||||
|
||||
redis:
|
||||
image: redis:alpine
|
||||
@ -48,25 +46,29 @@ services:
|
||||
- TZ=Europe/Dublin
|
||||
```
|
||||
|
||||
## config.yml
|
||||
## config/configuration.yml
|
||||
```yml
|
||||
host: 0.0.0.0
|
||||
port: 9091
|
||||
server:
|
||||
host: 0.0.0.0
|
||||
port: 9091
|
||||
|
||||
# log_level: debug
|
||||
jwt_secret: DphJJcoCO2aXK666tq3d2AgMQ8gaugukKsUjKzMciA
|
||||
# log:
|
||||
# level: debug
|
||||
|
||||
jwt_secret: U8kmbel7WhP1YneQh2134DXhsiSHctE5Emtf
|
||||
|
||||
authentication_backend:
|
||||
file:
|
||||
path: /etc/authelia/users.yml
|
||||
|
||||
storage:
|
||||
local:
|
||||
path: /var/lib/authelia/db.sqlite3
|
||||
encryption_key: U8kmbel7WhP1YneQh2134DXhsiSHctE5Emtf
|
||||
local:
|
||||
path: /var/lib/authelia/db.sqlite3
|
||||
|
||||
notifier:
|
||||
filesystem:
|
||||
filename: /tmp/authelia/notification.txt
|
||||
filesystem:
|
||||
filename: /tmp/authelia/notification.txt
|
||||
|
||||
session:
|
||||
name: authelia_session
|
||||
@ -93,7 +95,7 @@ access_control:
|
||||
policy: one_factor
|
||||
```
|
||||
|
||||
## users.yml
|
||||
## config/users.yml
|
||||
```yml
|
||||
users:
|
||||
admin:
|
||||
|
@ -1,13 +1,19 @@
|
||||
# Miniflux-filter
|
||||
|
||||
Filter for miniflux - "mark as read" all unwanter articles.
|
||||
I created that before miniflux added some basic filtering. Maybe still useful to someone.
|
||||
The difference from the built-in filtering is that this marks articles as read, whereas the built-in filtering filters articles out BEFORE adding them to the DB.
|
||||
|
||||
|
||||
Filter for miniflux - "mark as read" all unwanted articles.
|
||||
<br>
|
||||
I created that before miniflux added some basic filtering.
|
||||
<br>
|
||||
The difference from the built-in filtering is that the built-in filtering filters articles out BEFORE adding them to the DB, whereas this just marks them as read, so you can still go to "All" and see them if you wish.
|
||||
<br>
|
||||
<br>
|
||||
The new version adds a UI for managing filters. The UI "borrows" the css & javascript from Miniflux, so the look & feel is (almost) exactly the same as the main app!
|
||||
|
||||
- [Github repo](https://github.com/tborychowski/miniflux-filter)
|
||||
- [Docker Hub](https://hub.docker.com/r/tborychowski/miniflux-filter)
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
## docker-compose.yml
|
||||
@ -15,31 +21,18 @@ The difference from the built-in filtering is that this marks articles as read,
|
||||
---
|
||||
version: '3'
|
||||
services:
|
||||
miniflux-filter:
|
||||
image: tborychowski/miniflux-filter
|
||||
miniflux-filter:
|
||||
image: tborychowski/miniflux-filter:latest
|
||||
container_name: miniflux-filter
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- TZ=Europe/Dublin
|
||||
- HOST=https://rss.example.com
|
||||
- API_KEY=<YOUR MINIFLUX API KEY>
|
||||
- CHECK_EVERY_S=300 # 300 seconds = 5 min
|
||||
- TZ=Europe/Dublin
|
||||
# if not present - there will be no auth
|
||||
# - ADMIN_PASSWORD=admin1
|
||||
# ERROR, WARNING, INFO, DEBUG
|
||||
- LOG_LEVEL=INFO
|
||||
ports:
|
||||
- "5011:3000"
|
||||
- "5020:80"
|
||||
volumes:
|
||||
- ./filters.yml:/app/filters.yml
|
||||
- ./logs:/app/logs # optional
|
||||
```
|
||||
|
||||
## filters.yml
|
||||
This is a simple list of matchers: it loops through the unread articles and for every one of them - it loops through this list. If the article URL matches a filter `url` and the article title contains the string from `title` field - this article will be marked as read.
|
||||
|
||||
```yml
|
||||
filters:
|
||||
- url: 'feed.example.com' # match feed url
|
||||
title: 'windows 10' # match title
|
||||
- url: 'feed.example.com'
|
||||
title: 'sponsored'
|
||||
- url: 'feed.another.com'
|
||||
title: 'spam'
|
||||
- ./data:/var/www/html/store
|
||||
```
|
||||
|
BIN
apps/rss/miniflux-filter.png
Normal file
BIN
apps/rss/miniflux-filter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 188 KiB |
Loading…
Reference in New Issue
Block a user