Renovate Bot
2c452216ae
Some checks failed
ci/woodpecker/pull_request_closed/gitleaks Pipeline was successful
ci/woodpecker/pr/gitleaks Pipeline was successful
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/pull_request_closed/ansible-lint Pipeline was successful
ci/woodpecker/pr/ansible-lint Pipeline failed
ci/woodpecker/push/ansible-lint Pipeline failed
79 lines
2.4 KiB
Django/Jinja
79 lines
2.4 KiB
Django/Jinja
version: '3'
|
|
services:
|
|
######## Miniflux ########
|
|
miniflux:
|
|
container_name: "mf-frontend"
|
|
image: "ghcr.io/miniflux/miniflux:2.1.3"
|
|
restart: always
|
|
depends_on:
|
|
- mf-db16
|
|
environment:
|
|
DATABASE_URL: "postgres://miniflux:{{ lookup('keepass', 'miniflux_postgres_password', 'password') }}@mf-db16/miniflux?sslmode=disable"
|
|
RUN_MIGRATIONS: 1
|
|
# CREATE_ADMIN: 1
|
|
# ADMIN_USERNAME: adminmf
|
|
# ADMIN_PASSWORD: "{{ lookup('keepass', 'miniflux_admin_password', 'password') }}"
|
|
WORKER_POOL_SIZE: 10
|
|
POLLING_FREQUENCY: 10
|
|
CLEANUP_ARCHIVE_UNREAD_DAYS: -1
|
|
CLEANUP_ARCHIVE_READ_DAYS: 90
|
|
TZ: Europe/Berlin
|
|
networks:
|
|
- intern
|
|
- traefik
|
|
healthcheck:
|
|
test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"]
|
|
labels:
|
|
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
|
|
|
|
######## Postgres ########
|
|
mf-db16:
|
|
container_name: "mf-db16"
|
|
image: "postgres:16.3"
|
|
restart: always
|
|
environment:
|
|
POSTGRES_USER: miniflux
|
|
POSTGRES_PASSWORD: "{{ lookup('keepass', 'miniflux_postgres_password', 'password') }}"
|
|
TZ: Europe/Berlin
|
|
POSTGRES_HOST_AUTH_METHOD: "md5" # Workaround beim Migration von 13 -> 16; https://eelkevdbos.medium.com/upgrade-postgresql-with-docker-compose-99d995e464 ;
|
|
volumes:
|
|
- db16:/var/lib/postgresql/data
|
|
networks:
|
|
- intern
|
|
healthcheck:
|
|
test: ["CMD", "pg_isready", "-U", "miniflux"]
|
|
interval: 10s
|
|
start_period: 30s
|
|
|
|
######## Miniflux-Filter ########
|
|
mf-filter:
|
|
container_name: mf-filter
|
|
depends_on:
|
|
- miniflux
|
|
restart: always
|
|
environment:
|
|
TZ: Europe/Berlin
|
|
MF_AUTH_TOKEN: "{{ lookup('keepass', 'miniflux_auth_token', 'password') }}"
|
|
MF_API_URL: https://miniflux.mgrote.net/v1
|
|
MF_SLEEP: 600
|
|
#MF_DEBUG: 1
|
|
image: "registry.mgrote.net/miniflux-filter:latest"
|
|
volumes:
|
|
- ./filter.txt:/data/filter.txt
|
|
networks:
|
|
- intern
|
|
|
|
######## Volumes ########
|
|
volumes:
|
|
db16:
|
|
######## Networks ########
|
|
networks:
|
|
traefik:
|
|
external: true
|
|
intern:
|
|
driver: bridge
|