feat: add first Miniflux definition
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
a92ec91cc5
commit
eefece3173
|
@ -0,0 +1,47 @@
|
||||||
|
version: '3.9'
|
||||||
|
services:
|
||||||
|
rss:
|
||||||
|
image: miniflux/miniflux:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"]
|
||||||
|
depends_on:
|
||||||
|
db:
|
||||||
|
condition: service_healthy
|
||||||
|
morss:
|
||||||
|
condition: service_healthy
|
||||||
|
environment:
|
||||||
|
- RUN_MIGRATIONS=1
|
||||||
|
db:
|
||||||
|
image: postgres:15-alpine
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
volumes:
|
||||||
|
- db:/var/lib/postgresql/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "pg_isready", "-U", "miniflux"]
|
||||||
|
interval: 10s
|
||||||
|
start_period: 30s
|
||||||
|
morss:
|
||||||
|
image: pictuga/morss:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- MAX_TIME=10
|
||||||
|
- MAX_ITEM=-1
|
||||||
|
- LIM_TIME=120
|
||||||
|
- LIM_ITEM=-1
|
||||||
|
- CACHE=diskcache
|
||||||
|
- CACHE_SIZE=2048000000
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "/usr/bin/wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8000"]
|
||||||
|
interval: 1m30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 30s
|
||||||
|
volumes:
|
||||||
|
db:
|
||||||
|
driver: local
|
||||||
|
driver_opts:
|
||||||
|
type: none
|
||||||
|
o: bind
|
||||||
|
device: "/srv/docker/rss/db"
|
Loading…
Reference in New Issue