2022-08-25 22:22:11 +02:00
|
|
|
services:
|
|
|
|
######## Miniflux ########
|
|
|
|
miniflux:
|
|
|
|
container_name: "mf-frontend"
|
2024-11-11 05:06:29 +01:00
|
|
|
image: "ghcr.io/miniflux/miniflux:2.2.3"
|
2024-10-23 18:21:54 +02:00
|
|
|
restart: unless-stopped
|
2024-10-23 18:20:04 +02:00
|
|
|
pull_policy: missing
|
2022-08-25 22:22:11 +02:00
|
|
|
depends_on:
|
2024-09-27 11:58:33 +02:00
|
|
|
- mf-db17
|
2022-08-25 22:22:11 +02:00
|
|
|
environment:
|
2024-11-10 15:44:41 +01:00
|
|
|
DATABASE_URL: "postgres://miniflux:{{ lookup('viczem.keepass.keepass', 'miniflux/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-11-10 15:44:41 +01:00
|
|
|
# ADMIN_PASSWORD: "{{ lookup('viczem.keepass.keepass', 'miniflux/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:
|
2024-11-15 21:20:10 +01:00
|
|
|
- internal
|
2022-08-25 22:22:11 +02:00
|
|
|
- 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 12:16:29 +02:00
|
|
|
container_name: "mf-db"
|
2024-11-15 01:05:52 +01:00
|
|
|
image: "postgres:17.1"
|
2024-10-23 18:21:54 +02:00
|
|
|
restart: unless-stopped
|
2024-10-23 18:20:04 +02:00
|
|
|
pull_policy: missing
|
2022-08-25 22:22:11 +02:00
|
|
|
environment:
|
2023-04-06 19:53:27 +02:00
|
|
|
POSTGRES_USER: miniflux
|
2024-11-10 15:44:41 +01:00
|
|
|
POSTGRES_PASSWORD: "{{ lookup('viczem.keepass.keepass', 'miniflux/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:
|
2024-11-15 21:20:10 +01:00
|
|
|
- internal
|
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
|
2024-10-23 18:21:54 +02:00
|
|
|
restart: unless-stopped
|
2024-10-23 18:20:04 +02:00
|
|
|
pull_policy: missing
|
2022-08-25 22:22:11 +02:00
|
|
|
environment:
|
2023-04-06 19:53:27 +02:00
|
|
|
TZ: Europe/Berlin
|
2024-11-10 15:44:41 +01:00
|
|
|
MF_AUTH_TOKEN: "{{ lookup('viczem.keepass.keepass', 'miniflux/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:
|
2024-11-15 21:20:10 +01:00
|
|
|
- internal
|
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
|
2024-11-15 21:20:10 +01:00
|
|
|
internal:
|
2022-08-25 22:22:11 +02:00
|
|
|
driver: bridge
|