From 9ca66351da790e7b3478add6e3650f273e045f2b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 17 Sep 2020 08:27:26 +0300 Subject: [PATCH 1/3] apply more sane permissions on cache directories --- src/app/startup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/startup.sh b/src/app/startup.sh index 68a7cae..0ba3773 100755 --- a/src/app/startup.sh +++ b/src/app/startup.sh @@ -42,7 +42,8 @@ for d in cache lock feed-icons plugins.local themes.local; do done for d in cache lock feed-icons; do - chmod -R 777 $DST_DIR/$d + chmod 777 $DST_DIR/$d + find $DST_DIR/$d -type f -exec chmod 666 {} \; done chown -R $OWNER_UID:$OWNER_GID $DST_DIR \ From b6a65ebddd87f92f06a83786b3ba12affd23ce3a Mon Sep 17 00:00:00 2001 From: fox Date: Mon, 21 Sep 2020 10:53:24 +0000 Subject: [PATCH 2/3] Update 'README.md' --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 057d9de..8034817 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,6 @@ The idea is to provide tt-rss working (and updating) out of the box with minimal **This compose setup uses prebuilt images from Docker Hub.** -This setup is still WIP. Some features may be unimplemented or broken. Check the following -before deploying: - - [TODO](https://git.tt-rss.org/fox/ttrss-docker-compose/wiki/TODO) - [FAQ](https://git.tt-rss.org/fox/ttrss-docker-compose/wiki#faq) From 5f1a54a6878874ca221a8e08e0282b12586d8051 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 27 Sep 2020 17:53:55 +0300 Subject: [PATCH 3/3] increase memory limit for php CLI processes --- src/app/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/Dockerfile b/src/app/Dockerfile index 20a1961..9fcff5b 100644 --- a/src/app/Dockerfile +++ b/src/app/Dockerfile @@ -14,6 +14,7 @@ ADD index.php / ADD build-prepare.sh / RUN sed -i.bak 's/^listen = 127.0.0.1:9000/listen = 9000/' /etc/php7/php-fpm.d/www.conf +RUN sed -i.bak 's/\(memory_limit =\) 128M/\1 256M/' /etc/php7/php.ini RUN sh -c /build-prepare.sh