2022-08-25 22:22:11 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
######## Miniflux ########
|
|
|
|
miniflux:
|
|
|
|
container_name: "mf-frontend"
|
2024-01-29 11:20:37 +01:00
|
|
|
image: "ghcr.io/miniflux/miniflux:2.0.51@sha256:9f3bca6a95428c04c8fb54ee723a5f69b9e419b0bf5dfd7a4d70dfb0414d60f1"
|
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
|
|
|
|
2023-04-20 14:50:33 +02:00
|
|
|
com.centurylinklabs.watchtower.enable: true
|
2024-02-01 20:49:07 +01:00
|
|
|
com.centurylinklabs.watchtower.depends-on: mf-db16
|
2023-03-21 19:00:37 +01:00
|
|
|
|
2024-02-01 20:49:07 +01:00
|
|
|
######## Postgres ########
|
|
|
|
mf-db16:
|
|
|
|
container_name: "mf-db16"
|
2024-02-02 16:33:40 +01:00
|
|
|
image: "postgres:16.1@sha256:4d1b17af6f66b852ee3a721f6691a2ca7352f9d28f570a6a48cee4ebe646b2fd"
|
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
|
2022-08-25 22:22:11 +02:00
|
|
|
labels:
|
2023-11-09 17:33:26 +01:00
|
|
|
com.centurylinklabs.watchtower.enable: true
|
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-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-02-01 22:23:44 +01:00
|
|
|
image: "registry.mgrote.net/miniflux-filter:latest@sha256:fa09455085aad163b742521e0b2e73d8f673882e7211f2ea4a8572d1ae26c35c"
|
2022-08-25 22:22:11 +02:00
|
|
|
volumes:
|
|
|
|
- ./filter.txt:/data/filter.txt
|
|
|
|
networks:
|
|
|
|
- intern
|
2023-03-21 19:00:37 +01:00
|
|
|
labels:
|
2023-04-20 14:50:33 +02:00
|
|
|
com.centurylinklabs.watchtower.enable: true
|
|
|
|
com.centurylinklabs.watchtower.depends-on: mf-frontend
|
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
|