1
0
mirror of https://git.cloudron.io/cloudron/freshrss-app synced 2025-09-16 18:29:07 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Johannes Zellner
03879ca8df Bump version 2020-06-02 11:33:10 +02:00
Johannes Zellner
6e8bd967e8 Make p/api/ also writeable for extensions 2020-06-02 11:32:18 +02:00
4 changed files with 12 additions and 3 deletions

View File

@@ -165,3 +165,5 @@
* Show users last activity date #2936
* Ability to follow HTML redirections when retrieving full article content #2985
[1.9.2]
* Make p/api/ folder writeable for extensions like TinyTinyRSS api extension

View File

@@ -5,7 +5,7 @@
"description": "file://DESCRIPTION.md",
"changelog": "file://CHANGELOG",
"tagline": "RSS feed reader",
"version": "1.9.1",
"version": "1.9.2",
"healthCheckPath": "/",
"httpPort": 8000,
"addons": {

View File

@@ -10,8 +10,8 @@ RUN mv data data-orig && ln -s /app/data data
# official extensions
RUN wget https://github.com/FreshRSS/Extensions/archive/de83a1096c10644098291539cabfbecd38d5a28f.tar.gz -O - | tar -xz --strip-components=1 -C /app/code/extensions && \
mv /app/code/extensions /app/code/extensions-orig && \
ln -s /app/data/extensions /app/code/extensions
mv /app/code/p/api /app/code/p-api-orig && ln -s /app/data/p-api /app/code/p/api && \
mv /app/code/extensions /app/code/extensions-orig && ln -s /app/data/extensions /app/code/extensions
# configure apache
RUN rm /etc/apache2/sites-enabled/*

View File

@@ -31,6 +31,13 @@ for f in $(ls /app/code/extensions-orig); do
cp -r "/app/code/extensions-orig/$f" "/app/data/extensions"
done
echo "==> Copying extension p/api folder"
mkdir -p /app/data/p-api
for f in $(ls /app/code/p-api-orig); do
rm -rf "/app/data/p-api/$f"
cp -r "/app/code/p-api-orig/$f" "/app/data/p-api"
done
echo "==> Updating config file"
php cli/reconfigure.php --default_user admin --base_url "https://${CLOUDRON_APP_DOMAIN}" \
--db-type mysql --db-host "${CLOUDRON_MYSQL_HOST}" \