mirror of
https://github.com/atareao/self-hosted.git
synced 2024-07-06 14:02:16 +02:00
28 lines
471 B
YAML
28 lines
471 B
YAML
|
version: "3.7"
|
||
|
services:
|
||
|
miniflux:
|
||
|
image: miniflux/miniflux:latest
|
||
|
init: true
|
||
|
depends_on:
|
||
|
- db
|
||
|
networks:
|
||
|
- proxy
|
||
|
env_file:
|
||
|
- .env
|
||
|
db:
|
||
|
image: postgres:latest
|
||
|
init: true
|
||
|
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:
|