最后活跃于 1741035220

Minimalista lettore RSS

emanuelegori's Avatar emanuelegori 修订了这个 Gist 1741035220. 转到此修订

1 file changed, 27 insertions

docker-compose.yml(文件已创建)

@@ -0,0 +1,27 @@
1 + services:
2 + miniflux:
3 + image: miniflux/miniflux:latest
4 + ports:
5 + - "7001:8080"
6 + depends_on:
7 + db:
8 + condition: service_healthy
9 + environment:
10 + - DATABASE_URL=postgres://miniflux:SECRET@db/miniflux?sslmode=disable
11 + - RUN_MIGRATIONS=1
12 + - CREATE_ADMIN=1
13 + - ADMIN_USERNAME=admin
14 + - ADMIN_PASSWORD=password
15 + db:
16 + image: postgres:15
17 + environment:
18 + - POSTGRES_USER=miniflux
19 + - POSTGRES_PASSWORD=SECRET #password uguale a quella nel DATABASE_URL
20 + volumes:
21 + - /docker/miniflux/db:/var/lib/postgresql/data
22 + healthcheck:
23 + test: ["CMD", "pg_isready", "-U", "miniflux"]
24 + interval: 10s
25 + start_period: 30s
26 + volumes:
27 + miniflux-db:
上一页 下一页