From f4fc1682ad379799b0610c1477e1fead06880993 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 17 Feb 2023 11:39:04 -0800 Subject: add rss stack docker-compose.yaml template --- clarkzjw.cc/config/rss/docker-compose.yaml | 52 ++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 clarkzjw.cc/config/rss/docker-compose.yaml 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 @@ +version: "3" +services: + cloudflared: + image: cloudflare/cloudflared + container_name: cloudflare-tunnel + restart: always + command: tunnel run + environment: + - TUNNEL_TOKEN= + + postgres: + image: postgres:12.13 + container_name: ttrss_psql + restart: always + volumes: + - ./psql:/var/lib/postgresql/data + environment: + - POSTGRES_PASSWORD= + - POSTGRES_USER=ttrss + - POSTGRES_DB=ttrss + + ttrss: + image: wangqiru/ttrss:nightly-2023-02-15 + container_name: ttrss + depends_on: + - postgres + environment: + - SELF_URL_PATH=https://rss.jinwei.me/ + - DB_HOST=postgres + - DB_PORT= + - DB_NAME=ttrss + - DB_USER=ttrss + - DB_PASS= + - PUID=1000 + - PGID=1000 + volumes: + - ./feed-icons:/var/www/feed-icons/ + stdin_open: true + tty: true + restart: always + + rsshub: + image: clarkzjw/rsshub + container_name: rsshub + restart: always + + rssbot: + image: clarkzjw/rssbot + container_name: rssbot + restart: always + environment: + - TOKEN= -- cgit v1.2.3