Skip to content

Commit

Permalink
feat: update miniflux
Browse files Browse the repository at this point in the history
  • Loading branch information
juev committed Mar 8, 2024
1 parent e9cfea2 commit d70deed
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 42 deletions.
2 changes: 2 additions & 0 deletions miniflux/.env-example
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
TUNNEL_TOKEN=token

DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
POSTGRES_USER=miniflux
POSTGRES_PASSWORD=secret
Expand Down
13 changes: 0 additions & 13 deletions miniflux/README.org

This file was deleted.

54 changes: 25 additions & 29 deletions miniflux/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,48 +1,44 @@
version: '3.4'
version: '3'

services:
miniflux:
image: miniflux/miniflux:latest
restart: unless-stopped
#ports:
# - "127.0.0.1:8080:8080"
dns:
- 8.8.8.8
- 9.9.9.9
restart: always
depends_on:
- db
networks:
- back
- caddy-network
db:
condition: service_healthy
environment:
- DATABASE_URL=postgres://miniflux:secret@db/miniflux?sslmode=disable
- RUN_MIGRATIONS=1
- CREATE_ADMIN=1
- TZ=Europe/Moscow
- RUN_MIGRATIONS
- CREATE_ADMIN
- ADMIN_USERNAME
- ADMIN_PASSWORD
- POLLING_FREQUENCY
- POLLING_PARSING_ERROR_LIMIT
- BASE_URL
- POLLING_FREQUENCY=10
- POCKET_CONSUMER_KEY
- PROXY_IMAGES
#- POLLING_SCHEDULER
- BASE_URL=https://reader.example.org
- TZ=Europe/Moscow

db:
image: postgres:latest
restart: unless-stopped
image: postgres:15
restart: always
environment:
- POSTGRES_USER=miniflux
- POSTGRES_PASSWORD=secret
networks:
- back
- POSTGRES_DB=miniflux
volumes:
- miniflux-db:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "miniflux"]
interval: 10s
start_period: 30s
volumes:
miniflux-db:
networks:
back:
caddy-network:
external: true

cloudflared:
image: cloudflare/cloudflared:latest
environment:
- TUNNEL_TOKEN
command: 'tunnel run'
restart: always
read_only: true
user: root
depends_on:
- miniflux

0 comments on commit d70deed

Please sign in to comment.