# Miniflux stack tunables. Copy to `.env` on ana-docker before deploying
# and fill in the two passwords below.

# ── image pin ────────────────────────────────────────────────────────
# Pin to a tagged release. Bump deliberately — Miniflux ships breaking
# config changes occasionally (rare, but they exist).
MINIFLUX_VERSION=2.2.5

# ── network ──────────────────────────────────────────────────────────
# Host port. Container listens on 8080 internally.
# Reserved on ana-docker: 5001 Dockge, 7878 task-board, 8000 (other
# stacks), 8025/8088/8090/8100/8380/8780 (various). 8080 free.
MINIFLUX_PORT=8080

# Bind address. 0.0.0.0 exposes on all host interfaces; 127.0.0.1
# would restrict to ana-docker-local only.
MINIFLUX_BIND=0.0.0.0

# ── database (postgres bundled with this stack) ──────────────────────
# Strong password for the miniflux postgres user. Generate fresh:
#   openssl rand -base64 24
# This password is only seen by the two containers in this stack
# (miniflux and miniflux-db share an internal docker network) so
# rotation isn't urgent, but don't reuse another service's password.
MINIFLUX_DB_PASSWORD=CHANGE_ME

# ── admin user (auto-created on first start) ─────────────────────────
# CREATE_ADMIN=1 in compose.yaml means the container will create this
# user the first time it starts against an empty DB. Subsequent starts
# are no-ops on this. Change the password from inside the UI later if
# you want — this var only matters for the initial bootstrap.
MINIFLUX_ADMIN_USERNAME=lkraven
MINIFLUX_ADMIN_PASSWORD=CHANGE_ME

# ── logging ──────────────────────────────────────────────────────────
# error / warning / info / debug
MINIFLUX_LOG_LEVEL=info
