From 1ddb509fb9435b591462a8a3c41f8f582646f9c2 Mon Sep 17 00:00:00 2001 From: fox Date: Mon, 21 Sep 2020 10:53:07 +0000 Subject: [PATCH 1/3] Update 'README.md' --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 04d46ac..ea84d32 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,6 @@ The idea is to provide tt-rss working (and updating) out of the box with minimal fuss. -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 1eff29a23fd32e8ce3d3205ab489a7a026b94712 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 27 Sep 2020 17:54:45 +0300 Subject: [PATCH 2/3] increase memory limit for php CLI processes --- app/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Dockerfile b/app/Dockerfile index 5ab5b84..05a168f 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -13,6 +13,7 @@ ADD updater.sh / ADD index.php / 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 mkdir -p /var/www From d2e8c85f4cb0feaf4c670f21aa320dc7418feb7e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 28 Sep 2020 13:55:06 +0300 Subject: [PATCH 3/3] update schema on startup --- app/startup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/startup.sh b/app/startup.sh index b4744dc..ab9602e 100755 --- a/app/startup.sh +++ b/app/startup.sh @@ -89,6 +89,8 @@ else -i.bak $DST_DIR/config.php fi +cd $DST_DIR && sudo -u app php ./update.php --update-schema force-yes + touch $DST_DIR/.app_is_ready sudo -u app /usr/sbin/php-fpm7 -F