feat(service): add Miniflux service (#5843)
This commit is contained in:
36
templates/compose/miniflux.yaml
Normal file
36
templates/compose/miniflux.yaml
Normal 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
|
||||
Reference in New Issue
Block a user