MasterpieceDockerCompose/miniflux/docker-compose.yml

28 lines
725 B
YAML
Raw Normal View History

2021-05-15 11:43:08 +02:00
version: "3.8"
services:
db:
container_name: miniflux-db
image: postgres:13-alpine
restart: always
env_file: .env
2021-05-15 11:43:08 +02:00
volumes:
2021-05-15 13:14:20 +02:00
- ${POSTGRES_DATA:-/home/docker/miniflux/db}:/var/lib/postgresql/data
2021-05-15 11:43:08 +02:00
- /etc/localtime:/etc/localtime:ro
healthcheck:
test: ["CMD", "pg_isready", "-U", "miniflux"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 10s
feeder:
container_name: miniflux
image: ghcr.io/miniflux/miniflux
restart: unless-stopped
depends_on:
- db
ports:
2021-05-17 12:45:18 +02:00
- ${MINIFLUX_WEBUI_PORT:-8080}:8080
env_file: .env
2021-05-15 11:43:08 +02:00
healthcheck:
test: ["CMD", "/usr/bin/miniflux", "-healthcheck", "auto"]