-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
35 lines (34 loc) · 1.1 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: "3"
services:
database.postgres:
image: fengkx/postgres:13-alpine
container_name: postgres-miniflux
environment:
- POSTGRES_PASSWORD=miniflux # please change the password
volumes:
- ~/postgres/data:/var/lib/postgresql/data # persist postgres data to ~/postgres/data/ on the host
restart: always
service.rss:
image: miniflux/miniflux:latest
container_name: miniflux
depends_on:
- database.postgres
ports:
- 1541:8080
environment: #see all env at https://miniflux.app/docs/configuration.html
- DEBUG
- WORKER_POOL_SIZE=5
- POLLING_FREQUENCY=45
- BATCH_SIZE=50
- RUN_MIGRATIONS=1
- BASE_URL=http://rss.fengkx.top/ #please change to your domain
- DATABASE_URL= postgres://postgres:miniflux@database.postgres/postgres?sslmode=disable # please change your password
- DATABASE_MAX_CONNS=20
- DATABASE_MIN_CONNS=1
- CLEANUP_ARCHIVE_READ_DAYS=100
- PORT=8080
- CREATE_ADMIN=1
- ADMIN_USERNAME=admin
- ADMIN_PASSWORD=adminpass
- HTTP_CLIENT_TIMEOUT=60
restart: always