miniflux added
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
# Miniflux
|
||||||
|
Modified from [official instructions](https://miniflux.app/docs/docker.html).
|
||||||
|
|
||||||
|
I commented out the stuff to create the initial user because I'm running this
|
||||||
|
behind Cosmos, where I can temporarily quarantine it from the wider internet
|
||||||
|
while configuring it.
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
# TODO set volume directories
|
||||||
|
# TODO change ALL_CAPS environment variables in all locations
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
postgres:
|
||||||
|
driver: local
|
||||||
|
driver_opts:
|
||||||
|
type: none
|
||||||
|
o: bind
|
||||||
|
device: /mnt/apple/miniflux/postgres
|
||||||
|
|
||||||
|
services:
|
||||||
|
miniflux:
|
||||||
|
image: miniflux/miniflux:latest
|
||||||
|
# ports:
|
||||||
|
# - "80:8080"
|
||||||
|
depends_on:
|
||||||
|
db:
|
||||||
|
condition: service_healthy
|
||||||
|
environment:
|
||||||
|
- DATABASE_URL=postgres://miniflux:YOUR_PASSWORD@db/miniflux?sslmode=disable
|
||||||
|
- RUN_MIGRATIONS=1
|
||||||
|
# - CREATE_ADMIN=1
|
||||||
|
# - ADMIN_USERNAME=admin
|
||||||
|
# - ADMIN_PASSWORD=test123
|
||||||
|
db:
|
||||||
|
image: postgres:18
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=miniflux
|
||||||
|
- POSTGRES_PASSWORD=YOUR_PASSWORD
|
||||||
|
- POSTGRES_DB=miniflux
|
||||||
|
volumes:
|
||||||
|
- postgres:/var/lib/postgresql
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "pg_isready", "-U", "miniflux"]
|
||||||
|
interval: 10s
|
||||||
|
start_period: 30s
|
||||||
Reference in New Issue
Block a user