diff options
author | clarkzjw <[email protected]> | 2023-02-17 11:39:04 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-17 11:39:04 -0800 |
commit | f4fc1682ad379799b0610c1477e1fead06880993 (patch) | |
tree | 35ab9b9159c5c99556b053812a4c7647d8ec22ac /clarkzjw.cc/config/rss | |
parent | 9be2b67e354773c1f65d7502b5eee2dbf1bb1498 (diff) | |
download | homelab-f4fc1682ad379799b0610c1477e1fead06880993.tar.gz |
add rss stack docker-compose.yaml template
Diffstat (limited to 'clarkzjw.cc/config/rss')
-rw-r--r-- | clarkzjw.cc/config/rss/docker-compose.yaml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/clarkzjw.cc/config/rss/docker-compose.yaml b/clarkzjw.cc/config/rss/docker-compose.yaml new file mode 100644 index 0000000..2d8eb77 --- /dev/null +++ b/clarkzjw.cc/config/rss/docker-compose.yaml | |||
@@ -0,0 +1,52 @@ | |||
1 | version: "3" | ||
2 | services: | ||
3 | cloudflared: | ||
4 | image: cloudflare/cloudflared | ||
5 | container_name: cloudflare-tunnel | ||
6 | restart: always | ||
7 | command: tunnel run | ||
8 | environment: | ||
9 | - TUNNEL_TOKEN= | ||
10 | |||
11 | postgres: | ||
12 | image: postgres:12.13 | ||
13 | container_name: ttrss_psql | ||
14 | restart: always | ||
15 | volumes: | ||
16 | - ./psql:/var/lib/postgresql/data | ||
17 | environment: | ||
18 | - POSTGRES_PASSWORD= | ||
19 | - POSTGRES_USER=ttrss | ||
20 | - POSTGRES_DB=ttrss | ||
21 | |||
22 | ttrss: | ||
23 | image: wangqiru/ttrss:nightly-2023-02-15 | ||
24 | container_name: ttrss | ||
25 | depends_on: | ||
26 | - postgres | ||
27 | environment: | ||
28 | - SELF_URL_PATH=https://rss.jinwei.me/ | ||
29 | - DB_HOST=postgres | ||
30 | - DB_PORT= | ||
31 | - DB_NAME=ttrss | ||
32 | - DB_USER=ttrss | ||
33 | - DB_PASS= | ||
34 | - PUID=1000 | ||
35 | - PGID=1000 | ||
36 | volumes: | ||
37 | - ./feed-icons:/var/www/feed-icons/ | ||
38 | stdin_open: true | ||
39 | tty: true | ||
40 | restart: always | ||
41 | |||
42 | rsshub: | ||
43 | image: clarkzjw/rsshub | ||
44 | container_name: rsshub | ||
45 | restart: always | ||
46 | |||
47 | rssbot: | ||
48 | image: clarkzjw/rssbot | ||
49 | container_name: rssbot | ||
50 | restart: always | ||
51 | environment: | ||
52 | - TOKEN= | ||