-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.legacy.yml
41 lines (40 loc) · 1.39 KB
/
docker-compose.legacy.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
35
36
37
38
39
40
41
version: "3"
services:
database.postgres:
image: hoilc/postgres-chinese-textsearch:latest
container_name: postgres-miniflux
environment:
- POSTGRES_DB=miniflux2
- 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: fengkx/miniflux:amd64-latest
container_name: miniflux
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://localhost/ #please change to your domain
- DATABASE_URL= host=database.postgres user=postgres password=miniflux dbname=miniflux2 sslmode=disable #please change the password
- DATABASE_MAX_CONNS=20
- DATABASE_MIN_CONNS=1
- CLEANUP_ARCHIVE_READ_DAYS=60
- PORT=8080
- CREATE_ADMIN=1
- ADMIN_USERNAME=admin
- ADMIN_PASSWORD=password
- HTTP_CLIENT_TIMEOUT=20
restart: always
command: sh -c /usr/bin/miniflux
service.mercury: # set Mercury Parser API endpoint to `http://service.mercury:3000/parser` on miniflux seeting
image: wangqiru/mercury-parser-api:latest
container_name: mercury-miniflux
expose:
- 3000
restart: always