2022-08-08 23:55:41 +02:00
|
|
|
---
|
2022-06-18 14:12:12 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
miniflux:
|
|
|
|
image: miniflux/miniflux:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
|
|
|
db:
|
|
|
|
condition: service_healthy
|
|
|
|
environment:
|
2023-03-30 01:27:24 +02:00
|
|
|
- FETCH_YOUTUBE_WATCH_TIME=1
|
2022-06-18 14:12:12 +02:00
|
|
|
- DATABASE_URL=postgres://{{ miniflux.db.user }}:{{ miniflux.db.password }}@db/{{ miniflux.db.name }}?sslmode=disable
|
|
|
|
- RUN_MIGRATIONS=1
|
|
|
|
- CREATE_ADMIN=1
|
|
|
|
- ADMIN_USERNAME={{ miniflux.admin.user }}
|
|
|
|
- ADMIN_PASSWORD={{ miniflux.admin.password }}
|
|
|
|
- BASE_URL=https://rss.tobiasmanske.de
|
2023-04-11 00:40:23 +02:00
|
|
|
- CLEANUP_ARCHIVE_READ_DAYS=-1
|
2022-09-25 14:43:53 +02:00
|
|
|
- OAUTH2_CLIENT_ID={{ miniflux.oauth.client_id }}
|
|
|
|
- OAUTH2_CLIENT_SECRET={{ miniflux.oauth.client_secret }}
|
|
|
|
- OAUTH2_OIDC_DISCOVERY_ENDPOINT={{ miniflux.oauth.discovery_endpoint }}
|
|
|
|
- OAUTH2_PROVIDER=oidc
|
|
|
|
- OAUTH2_REDIRECT_URL={{ miniflux.oauth.redirect_url }}
|
2023-08-25 01:00:06 +02:00
|
|
|
- OAUTH2_USER_CREATION=1
|
2023-04-16 16:10:44 +02:00
|
|
|
- METRICS_COLLECTOR=1
|
|
|
|
- METRICS_ALLOWED_NETWORKS=0.0.0.0/0
|
2022-06-18 14:12:12 +02:00
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
|
|
|
- "traefik.http.routers.miniflux.rule=Host(`rss.tobiasmanske.de`)"
|
|
|
|
- "traefik.http.routers.miniflux.entryPoints=websecure"
|
2023-04-16 16:10:44 +02:00
|
|
|
- "traefik.http.routers.miniflux.middlewares=deny-metrics@file"
|
2022-06-18 14:12:12 +02:00
|
|
|
- "traefik.http.services.miniflux.loadbalancer.server.port=8080"
|
2023-04-16 16:10:44 +02:00
|
|
|
- "prometheus-scrape.enabled=true"
|
|
|
|
- "prometheus-scrape.port=8080"
|
2022-06-18 14:12:12 +02:00
|
|
|
networks:
|
|
|
|
- backend
|
2023-03-30 01:08:46 +02:00
|
|
|
- pantalaimon
|
2023-08-10 14:16:30 +02:00
|
|
|
- default
|
2023-08-10 16:29:52 +02:00
|
|
|
- metrics
|
2022-06-18 14:12:12 +02:00
|
|
|
|
|
|
|
db:
|
|
|
|
image: postgres:13
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER={{ miniflux.db.user }}
|
|
|
|
- POSTGRES_PASSWORD={{ miniflux.db.password }}
|
|
|
|
volumes:
|
|
|
|
- database:/var/lib/postgresql/data
|
|
|
|
healthcheck:
|
2024-01-10 09:00:44 +01:00
|
|
|
test: ["CMD", "pg_isready", "-U", "{{ miniflux.db.user }}"]
|
2022-06-18 14:12:12 +02:00
|
|
|
interval: 10s
|
|
|
|
start_period: 30s
|
|
|
|
networks:
|
|
|
|
- backend
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
database:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
internal: true
|
2023-03-30 01:08:46 +02:00
|
|
|
pantalaimon:
|
|
|
|
external: true
|
2023-08-10 16:29:52 +02:00
|
|
|
metrics:
|
|
|
|
external: true
|
2022-08-08 23:55:41 +02:00
|
|
|
...
|