mirror of
https://github.com/atareao/self-hosted.git
synced 2024-07-06 22:12:15 +02:00
33 lines
572 B
YAML
33 lines
572 B
YAML
version: "3.7"
|
|
services:
|
|
miniflux:
|
|
image: miniflux/miniflux:latest
|
|
init: true
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- db
|
|
networks:
|
|
- proxy
|
|
- internal
|
|
env_file:
|
|
- .env
|
|
db:
|
|
image: postgres:latest
|
|
init: true
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./postgresql:/var/lib/postgresql/data
|
|
networks:
|
|
- internal
|
|
healthcheck:
|
|
test: ["CMD", "pg_isready", "-U", "miniflux"]
|
|
interval: 10s
|
|
start_period: 30s
|
|
|
|
networks:
|
|
internal:
|
|
proxy:
|
|
external: true
|