2022-08-25 22:22:11 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
######## Miniflux ########
|
|
|
|
miniflux:
|
|
|
|
container_name: "mf-frontend"
|
2024-04-28 02:05:05 +02:00
|
|
|
image: "ghcr.io/miniflux/miniflux:2.1.3"
|
2022-08-25 22:22:11 +02:00
|
|
|
restart: always
|
|
|
|
depends_on:
|
2024-02-01 20:49:07 +01:00
|
|
|
- mf-db16
|
2022-08-25 22:22:11 +02:00
|
|
|
environment:
|
2024-02-01 20:49:07 +01:00
|
|
|
DATABASE_URL: "postgres://miniflux:{{ lookup('keepass', 'miniflux_postgres_password', 'password') }}@mf-db16/miniflux?sslmode=disable"
|
2023-04-06 19:53:27 +02:00
|
|
|
RUN_MIGRATIONS: 1
|
|
|
|
# CREATE_ADMIN: 1
|
|
|
|
# ADMIN_USERNAME: adminmf
|
2024-01-26 22:37:25 +01:00
|
|
|
# ADMIN_PASSWORD: "{{ lookup('keepass', 'miniflux_admin_password', 'password') }}"
|
2023-04-06 19:53:27 +02:00
|
|
|
WORKER_POOL_SIZE: 10
|
|
|
|
POLLING_FREQUENCY: 10
|
|
|
|
CLEANUP_ARCHIVE_UNREAD_DAYS: -1
|
|
|
|
CLEANUP_ARCHIVE_READ_DAYS: 90
|
|
|
|
TZ: Europe/Berlin
|
2022-08-25 22:22:11 +02:00
|
|
|
networks:
|
|
|
|
- intern
|
|
|
|
- traefik
|
2024-02-01 21:23:44 +01:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"]
|
2022-08-25 22:22:11 +02:00
|
|
|
labels:
|
2023-04-20 14:50:33 +02:00
|
|
|
traefik.http.routers.miniflux.rule: Host(`miniflux.mgrote.net`)
|
|
|
|
traefik.enable: true
|
|
|
|
traefik.http.routers.miniflux.tls: true
|
|
|
|
traefik.http.routers.miniflux.tls.certresolver: resolver_letsencrypt
|
|
|
|
traefik.http.routers.miniflux.entrypoints: entry_https
|
|
|
|
traefik.http.services.miniflux.loadbalancer.server.port: 8080
|
2023-04-20 21:10:10 +02:00
|
|
|
|
2024-02-01 20:49:07 +01:00
|
|
|
######## Postgres ########
|
|
|
|
mf-db16:
|
|
|
|
container_name: "mf-db16"
|
2024-02-13 08:34:24 +01:00
|
|
|
image: "postgres:16.2"
|
2022-08-25 22:22:11 +02:00
|
|
|
restart: always
|
|
|
|
environment:
|
2023-04-06 19:53:27 +02:00
|
|
|
POSTGRES_USER: miniflux
|
2024-01-26 22:37:25 +01:00
|
|
|
POSTGRES_PASSWORD: "{{ lookup('keepass', 'miniflux_postgres_password', 'password') }}"
|
2023-04-06 19:53:27 +02:00
|
|
|
TZ: Europe/Berlin
|
2024-02-01 20:49:07 +01:00
|
|
|
POSTGRES_HOST_AUTH_METHOD: "md5" # Workaround beim Migration von 13 -> 16; https://eelkevdbos.medium.com/upgrade-postgresql-with-docker-compose-99d995e464 ;
|
2022-08-25 22:22:11 +02:00
|
|
|
volumes:
|
2024-02-01 20:49:07 +01:00
|
|
|
- db16:/var/lib/postgresql/data
|
2022-08-25 22:22:11 +02:00
|
|
|
networks:
|
|
|
|
- intern
|
2024-02-01 21:23:44 +01:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "pg_isready", "-U", "miniflux"]
|
|
|
|
interval: 10s
|
|
|
|
start_period: 30s
|
2023-03-21 19:00:37 +01:00
|
|
|
|
2022-08-25 22:22:11 +02:00
|
|
|
######## Miniflux-Filter ########
|
|
|
|
mf-filter:
|
|
|
|
container_name: mf-filter
|
2023-04-20 21:10:10 +02:00
|
|
|
depends_on:
|
|
|
|
- miniflux
|
2022-08-25 22:22:11 +02:00
|
|
|
restart: always
|
2024-05-07 01:41:44 +02:00
|
|
|
image: "registry.mgrote.net/miniflux-filter:latest"
|
|
|
|
volumes:
|
|
|
|
- ./filter.txt:/data/filter.txt
|
|
|
|
networks:
|
|
|
|
- intern
|
2022-08-25 22:22:11 +02:00
|
|
|
environment:
|
2023-04-06 19:53:27 +02:00
|
|
|
TZ: Europe/Berlin
|
2024-01-26 22:37:25 +01:00
|
|
|
MF_AUTH_TOKEN: "{{ lookup('keepass', 'miniflux_auth_token', 'password') }}"
|
2023-04-06 19:53:27 +02:00
|
|
|
MF_API_URL: https://miniflux.mgrote.net/v1
|
|
|
|
MF_SLEEP: 600
|
|
|
|
#MF_DEBUG: 1
|
2024-05-07 01:41:44 +02:00
|
|
|
|
2023-03-21 19:00:37 +01:00
|
|
|
|
2022-08-25 22:22:11 +02:00
|
|
|
######## Volumes ########
|
|
|
|
volumes:
|
2024-02-01 20:49:07 +01:00
|
|
|
db16:
|
2022-08-25 22:22:11 +02:00
|
|
|
######## Networks ########
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|
|
|
|
intern:
|
|
|
|
driver: bridge
|