mirror of
https://github.com/gshang2017/docker.git
synced 2025-07-23 00:48:23 +00:00
ttrss:23.12-f0f22c23
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
FROM ghcr.io/gshang2017/postgres:latest
|
||||
|
||||
ARG S6_VER=3.1.6.2
|
||||
ARG TTRSS_VER=23.12-2b8e3445
|
||||
ARG GIT_COMMIT_SHA=2b8e34453234b8b31ebc9e7020f8677bf3889898
|
||||
ARG TTRSS_VER=23.12-f0f22c23
|
||||
ARG GIT_COMMIT_SHA=f0f22c23c5986d8f21f82e4a8203a164a5c4aace
|
||||
|
||||
ENV UID=1000
|
||||
ENV GID=1000
|
||||
@ -17,7 +17,7 @@ ENV TTRSS_DB_PORT=5432
|
||||
ENV TTRSS_DB_HOST=0.0.0.0
|
||||
ENV TTRSS_SELF_URL_PATH=http://localhost:80/
|
||||
ENV TTRSS_PHP_EXECUTABLE=/usr/bin/php82
|
||||
ENV TTRSS_PLUGINS=auth_internal,fever,mercury_fulltext
|
||||
ENV TTRSS_PLUGINS=auth_internal,fever,mercury_fulltext,af_readability
|
||||
ENV SCRIPT_ROOT=/usr/local/tt-rss/app
|
||||
ENV TZ=Asia/Shanghai
|
||||
ENV TTRSS_ALLOW_PORTS=80,443
|
||||
@ -81,6 +81,8 @@ RUN apk add --no-cache bash shadow tzdata git npm nodejs ca-certificates caddy d
|
||||
&& git clone --depth 1 https://github.com/feediron/ttrss_plugin-feediron.git /usr/local/tt-rss/defaults/plugins.local/feediron \
|
||||
# install fever
|
||||
&& git clone --depth 1 https://github.com/DigitalDJ/tinytinyrss-fever-plugin /usr/local/tt-rss/defaults/plugins.local/fever \
|
||||
# install af-readability
|
||||
&& git clone --depth 1 https://git.tt-rss.org/fox/ttrss-af-readability.git /usr/local/tt-rss/defaults/plugins.local/af_readability \
|
||||
# install themes
|
||||
# install tt-rss-feedly-theme
|
||||
&& git clone -b dist --depth 1 https://github.com/levito/tt-rss-feedly-theme.git /usr/local/tt-rss/defaults/themes.local/tt-rss-feedly-theme \
|
||||
|
@ -12,13 +12,14 @@
|
||||
[https://github.com/HenryQW/mercury_fulltext](https://github.com/HenryQW/mercury_fulltext "https://github.com/HenryQW/mercury_fulltext")
|
||||
[https://github.com/feediron/ttrss_plugin-feediron](https://github.com/feediron/ttrss_plugin-feediron "https://github.com/feediron/ttrss_plugin-feediron")
|
||||
[https://github.com/DigitalDJ/tinytinyrss-fever-plugin](https://github.com/DigitalDJ/tinytinyrss-fever-plugin "https://github.com/DigitalDJ/tinytinyrss-fever-plugin")
|
||||
[https://git.tt-rss.org/fox/ttrss-af-readability.git](https://git.tt-rss.org/fox/ttrss-af-readability.git "https://git.tt-rss.org/fox/ttrss-af-readability.git")
|
||||
[https://github.com/levito/tt-rss-feedly-theme](https://github.com/levito/tt-rss-feedly-theme "https://github.com/levito/tt-rss-feedly-theme")
|
||||
|
||||
### 版本:
|
||||
|
||||
|名称|版本|说明|
|
||||
|:-|:-|:-|
|
||||
|ttrss|plugins-23.12-2b8e3445|amd64;arm64v8;arm32v7,集成postgres数据库(PostgreSQL-14.1),mercury-parser-api及一些常用插件|
|
||||
|ttrss|plugins-23.12-f0f22c23|amd64;arm64v8;arm32v7,集成postgres数据库(PostgreSQL-14.1),mercury-parser-api及一些常用插件|
|
||||
|
||||
#### 版本升级注意:
|
||||
|
||||
@ -118,7 +119,7 @@
|
||||
| `-e TTRSS_DB_PORT=5432` |tt-rss使用的数据库端口,默认设置为容器内部端口,无需更改|
|
||||
| `-e TTRSS_DB_HOST=0.0.0.0` |tt-rss使用的数据库IP,默认设置为容器内部IP,无需更改|
|
||||
| `-e TTRSS_SELF_URL_PATH=http://localhost:80/` |tt-rss访问地址,需更改为IP或域名加tt-rss服务器web端口|
|
||||
| `-e TTRSS_PLUGINS=auth_internal,fever,mercury_fulltext` |tt-rss默认开启插件|
|
||||
| `-e TTRSS_PLUGINS=auth_internal,fever,mercury_fulltext,af_readability` |tt-rss默认开启插件|
|
||||
| `-e TZ=Asia/Shanghai` |系统时区设置,默认为Asia/Shanghai|
|
||||
| `-e TTRSS_ALLOW_PORTS=80,443` |ttrss可订阅的端口,如需1200,可替换80,443为1200|
|
||||
| `-e TTRSS_UPDATE_AUTO=true` |自动更新tt-rss(true\|false),默认开启此功能|
|
||||
@ -160,7 +161,7 @@
|
||||
| `TTRSS_DB_PORT=5432` |tt-rss使用的数据库端口,默认设置为容器内部端口,无需更改|
|
||||
| `TTRSS_DB_HOST=0.0.0.0` |tt-rss使用的数据库IP,默认设置为容器内部IP,无需更改|
|
||||
| `TTRSS_SELF_URL_PATH=http://localhost:80/` |tt-rss访问地址,需更改为IP或域名加tt-rss服务器web端口|
|
||||
| `TTRSS_PLUGINS=auth_internal,fever,mercury_fulltext` |tt-rss默认开启插件|
|
||||
| `TTRSS_PLUGINS=auth_internal,fever,mercury_fulltext,af_readability` |tt-rss默认开启插件|
|
||||
| `TZ=Asia/Shanghai` |系统时区设置,默认为Asia/Shanghai|
|
||||
| `TTRSS_ALLOW_PORTS=80,443` |ttrss可订阅的端口,如需1200,可替换80,443为1200|
|
||||
| `TTRSS_UPDATE_AUTO=true` |自动更新tt-rss(true\|false),默认开启此功能|
|
||||
|
@ -71,6 +71,10 @@ fi
|
||||
if [ ! -d "/config/plugins.local/mercury_fulltext" ]; then
|
||||
cp -rf /usr/local/tt-rss/defaults/plugins.local/mercury_fulltext /config/plugins.local/
|
||||
fi
|
||||
#检查af_readability plugins
|
||||
if [ ! -d "/config/plugins.local/af_readability" ]; then
|
||||
cp -rf /usr/local/tt-rss/defaults/plugins.local/af_readability /config/plugins.local/
|
||||
fi
|
||||
|
||||
#检查templates.local文件夹位置
|
||||
if [ ! -d "/config/templates.local" ]; then
|
||||
|
Reference in New Issue
Block a user