-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
75 lines (70 loc) · 1.91 KB
/
docker-compose.yml
File metadata and controls
75 lines (70 loc) · 1.91 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# InkDrip + RSSHub + FreshRSS (example)
#
# Usage:
# 1. Copy config.example.toml to data/config.toml and adjust settings
# 2. docker compose up -d
# 3. Subscribe to feeds at http://localhost:8080/feeds/<slug>/atom.xml (or rss.xml for RSS 2.0 format)
services:
db:
image: postgres:15-alpine
container_name: postgres
environment:
- POSTGRES_USER=freshrss
- POSTGRES_PASSWORD=freshrss_secret
- POSTGRES_DB=freshrss
volumes:
- db-data:/var/lib/postgresql/data
deploy:
resources:
limits:
memory: 150M
restart: always
rsshub:
image: diygod/rsshub:latest
container_name: rsshub
ports:
- 1200:1200
environment:
- NODE_ENV=production
- CACHE_TYPE=memory
- DEBUG_INFO=false
deploy:
resources:
limits:
memory: 200M
restart: always
freshrss:
image: freshrss/freshrss
container_name: freshrss
ports:
- 8081:80
environment:
- TZ=Asia/Shanghai
- CRON_MIN=1,31
volumes:
- freshrss-data:/var/www/FreshRSS/data
- freshrss-extensions:/var/www/FreshRSS/extensions
depends_on:
- db
restart: always
inkdrip:
image: pilgrimlyieu/inkdrip:latest
build: .
container_name: inkdrip
ports:
- 8080:8080
volumes:
- inkdrip-data:/data
environment:
- INKDRIP__SERVER__BASE_URL=http://localhost:8080
- INKDRIP__DEFAULTS__TIMEZONE=Asia/Shanghai
deploy:
resources:
limits:
memory: 50M
restart: always
volumes:
db-data:
freshrss-data:
freshrss-extensions:
inkdrip-data: