diff --git a/miniflux/ReadMe.md b/miniflux/ReadMe.md new file mode 100644 index 0000000..a9714b2 --- /dev/null +++ b/miniflux/ReadMe.md @@ -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. diff --git a/miniflux/docker-compose.yml b/miniflux/docker-compose.yml new file mode 100644 index 0000000..ca00c16 --- /dev/null +++ b/miniflux/docker-compose.yml @@ -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