aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rss.jinwei.me/config/roles/rss/templates/docker-compose.yaml.j2')
-rw-r--r--rss.jinwei.me/config/roles/rss/templates/docker-compose.yaml.j240
1 files changed, 17 insertions, 23 deletions
diff --git a/rss.jinwei.me/config/roles/rss/templates/docker-compose.yaml.j2 b/rss.jinwei.me/config/roles/rss/templates/docker-compose.yaml.j2
index 7a2411a..b79dbaa 100644
--- a/rss.jinwei.me/config/roles/rss/templates/docker-compose.yaml.j2
+++ b/rss.jinwei.me/config/roles/rss/templates/docker-compose.yaml.j2
@@ -1,29 +1,23 @@
1version: "3" 1version: "3"
2services: 2services:
3 ttrss: 3 freshrss:
4 image: wangqiru/ttrss:nightly-2022-08-09 4 image: freshrss/freshrss:edge
5 container_name: ttrss 5 container_name: freshrss
6 environment:
7 - SELF_URL_PATH={{ lookup('aws_ssm', '/jinwei-me/ttrss/url') }}
8 - DB_HOST={{ lookup('aws_ssm', '/jinwei-me/mysql/host') }}
9 - DB_PORT={{ lookup('aws_ssm', '/jinwei-me/mysql/port') }}
10 - DB_NAME={{ lookup('aws_ssm', '/jinwei-me/mysql/ttrss_db_name') }}
11 - DB_USER={{ lookup('aws_ssm', '/jinwei-me/mysql/ttrss_db_user') }}
12 - DB_PASS={{ lookup('aws_ssm', '/jinwei-me/mysql/ttrss_db_password') }}
13 - PUID=1000
14 - PGID=1000
15 ports:
16 - 30080:80
17 volumes:
18 - {{ rss_home }}/feed-icons:/var/www/feed-icons/
19 stdin_open: true
20 tty: true
21 restart: always
22
23 mercury:
24 image: wangqiru/mercury-parser-api:latest
25 container_name: ttrss_mercury
26 restart: always 6 restart: always
7 logging:
8 options:
9 max-size: 10m
10 volumes:
11 # Recommended volume for FreshRSS persistent data such as configuration and SQLite databases
12 - {{ rss_home }}/data:/var/www/FreshRSS/data
13 # Optional volume for storing third-party extensions
14 - {{ rss_home }}/extensions:/var/www/FreshRSS/extensions
15 ports:
16 # If you want to open a port 8080 on the local machine:
17 - 30082:80
18 environment:
19 # A timezone http://php.net/timezones (default is UTC)
20 TZ: America/Vancouver
27 21
28 rssbot: 22 rssbot:
29 build: 23 build:
Powered by cgit v1.2.3 (git 2.41.0)