2022-08-25 22:22:11 +02:00
|
|
|
services:
|
|
|
|
######## Miniflux ########
|
|
|
|
miniflux:
|
|
|
|
container_name: "mf-frontend"
|
2024-08-27 21:03:39 +02:00
|
|
|
image: "ghcr.io/miniflux/miniflux:2.2.0"
|
2022-08-25 22:22:11 +02:00
|
|
|
restart: always
|
|
|
|
depends_on:
|
2024-09-27 11:58:33 +02:00
|
|
|
- mf-db17
|
2022-08-25 22:22:11 +02:00
|
|
|
environment:
|
2024-09-27 11:58:33 +02:00
|
|
|
DATABASE_URL: "postgres://miniflux:{{ lookup('viczem.keepass.keepass', 'miniflux_postgres_password', 'password') }}@mf-db17/miniflux?sslmode=disable"
|
2023-04-06 19:53:27 +02:00
|
|
|
RUN_MIGRATIONS: 1
|
|
|
|
# CREATE_ADMIN: 1
|
|
|
|
# ADMIN_USERNAME: adminmf
|
2024-07-09 17:35:56 +02:00
|
|
|
# ADMIN_PASSWORD: "{{ lookup('viczem.keepass.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 ########
|
2024-09-27 11:58:33 +02:00
|
|
|
mf-db17:
|
2024-10-02 11:00:12 +02:00
|
|
|
container_name: "mf-db"
|
2024-09-27 09:44:58 +02:00
|
|
|
image: "postgres:17.0"
|
2022-08-25 22:22:11 +02:00
|
|
|
restart: always
|
|
|
|
environment:
|
2023-04-06 19:53:27 +02:00
|
|
|
POSTGRES_USER: miniflux
|
2024-07-09 17:35:56 +02:00
|
|
|
POSTGRES_PASSWORD: "{{ lookup('viczem.keepass.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-09-27 11:58:33 +02:00
|
|
|
- db17:/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
|
|
|
|
environment:
|
2023-04-06 19:53:27 +02:00
|
|
|
TZ: Europe/Berlin
|
2024-07-09 17:35:56 +02:00
|
|
|
MF_AUTH_TOKEN: "{{ lookup('viczem.keepass.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-04-30 09:25:04 +02:00
|
|
|
image: "registry.mgrote.net/miniflux-filter:latest"
|
2022-08-25 22:22:11 +02:00
|
|
|
volumes:
|
|
|
|
- ./filter.txt:/data/filter.txt
|
|
|
|
networks:
|
|
|
|
- intern
|
2023-03-21 19:00:37 +01:00
|
|
|
|
2022-08-25 22:22:11 +02:00
|
|
|
######## Volumes ########
|
|
|
|
volumes:
|
2024-09-27 11:58:33 +02:00
|
|
|
db17:
|
2022-08-25 22:22:11 +02:00
|
|
|
######## Networks ########
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|
|
|
|
intern:
|
|
|
|
driver: bridge
|