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

feat: add data_migration plugin

parent 8c202fa3
No related branches found
No related tags found
No related merge requests found
Pipeline #34523 passed
......@@ -53,6 +53,9 @@ ADD .docker/app/config.docker.php ${SCRIPT_ROOT}
COPY . ${SRC_DIR}
ARG ORIGIN_REPO_EXPORT_IMPORT=https://gitlab.tt-rss.org/tt-rss/plugins/ttrss-data-migration.git
RUN git clone --depth=1 ${ORIGIN_REPO_EXPORT_IMPORT} ${SRC_DIR}/plugins.local/ttrss-data-migration
ARG ORIGIN_REPO_XACCEL=https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git
RUN git clone --depth=1 ${ORIGIN_REPO_XACCEL} ${SRC_DIR}/plugins.local/nginx_xaccel
......@@ -100,6 +103,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"
ENV TTRSS_PLUGINS="auth_internal, note, nginx_xaccel, mailer_smtp, data_migration"
CMD ${SCRIPT_ROOT}/startup.sh
......@@ -56,6 +56,10 @@ if [ -z $SKIP_RSYNC_ON_STARTUP ]; then
sudo -u app rsync -a --no-owner --delete \
$SRC_DIR/plugins.local/mailer_smtp \
$DST_DIR/plugins.local/mailer_smtp
sudo -u app rsync -a --no-owner --delete \
$SRC_DIR/plugins.local/ttrss-data-migration \
$DST_DIR/plugins.local/ttrss-data-migration
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