feat(service): add Miniflux service (#5843)

This commit is contained in:
Lucas Eduardo
2025-06-18 08:52:01 -03:00
committed by GitHub
parent bee4d1796a
commit fe38ce6f51
2 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
# documentation: https://miniflux.app/docs/index.html
# slogan: Miniflux is a minimalist and opinionated feed reader.
# tags: miniflux,rss,feed,self,hosted
# logo: svgs/miniflux.svg
# port: 8080
services:
miniflux:
image: ghcr.io/miniflux/miniflux:latest
environment:
- SERVICE_FQDN_MINIFLUX
- PORT=8080
- RUN_MIGRATIONS=${RUN_MIGRATIONS:-1}
- CREATE_ADMIN=${CREATE_ADMIN:-1}
- ADMIN_USERNAME=${ADMIN_USERNAME:-admin}
- ADMIN_PASSWORD=${SERVICE_PASSWORD_64_ADMIN}
- BASE_URL=$SERVICE_FQDN_MINIFLUX
- DATABASE_URL=host=postgresql user=$SERVICE_USER_POSTGRES dbname=miniflux password=$SERVICE_PASSWORD_POSTGRES sslmode=disable
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/"]
interval: 5s
timeout: 20s
retries: 10
postgresql:
image: postgres:16-alpine
volumes:
- postgresql-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=$SERVICE_USER_POSTGRES
- POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES
- POSTGRES_DB=${POSTGRES_DB:-miniflux}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 20s
retries: 10