Skip to content
Snippets Groups Projects
Verified Commit b6b63c7e authored by cyrinux's avatar cyrinux :construction_worker_tone1:
Browse files

feat: use ttrss cache s3 plugin instead of csi-s3

parent 076df311
No related branches found
No related tags found
No related merge requests found
Pipeline #34531 passed
......@@ -65,6 +65,9 @@ RUN git clone --depth=1 ${ORIGIN_REPO_SMTP} ${SRC_DIR}/plugins.local/mailer_smtp
ARG ORIGIN_REPO_MASTODON=https://framagit.org/framasoft/ttrss/ttrss_mastodon.git
RUN git clone --depth=1 ${ORIGIN_REPO_MASTODON} ${SRC_DIR}/plugins.local/mastodon
ARG ORIGIN_REPO_CACHE_S3=https://git.tt-rss.org/fox/ttrss-cache-s3.git
RUN git clone --depth=1 ${ORIGIN_REPO_CACHE_S3} ${SRC_DIR}/plugins.local/cache_s3
ENV OWNER_UID=1000
ENV OWNER_GID=1000
......@@ -103,6 +106,6 @@ ENV TTRSS_DB_PORT="5432"
ENV TTRSS_MYSQL_CHARSET="UTF8"
ENV TTRSS_PHP_EXECUTABLE="/usr/bin/php83"
ENV TTRSS_PLUGINS="auth_internal, note, nginx_xaccel, mailer_smtp, data_migration"
ENV TTRSS_PLUGINS="cache_s3, auth_internal, note, nginx_xaccel, mailer_smtp, data_migration"
CMD ${SCRIPT_ROOT}/startup.sh
......@@ -60,6 +60,10 @@ if [ -z $SKIP_RSYNC_ON_STARTUP ]; then
sudo -u app rsync -a --no-owner --delete \
$SRC_DIR/plugins.local/data_migration \
$DST_DIR/plugins.local/data_migration
sudo -u app rsync -a --no-owner --delete \
$SRC_DIR/plugins.local/cache_s3 \
$DST_DIR/plugins.local/cache_s3
fi
else
echo "warning: working copy in $DST_DIR won't be updated, make sure you know what you're doing."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment