From b6a65ebddd87f92f06a83786b3ba12affd23ce3a Mon Sep 17 00:00:00 2001 From: fox Date: Mon, 21 Sep 2020 10:53:24 +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 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 2/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 From 3a27647d896d1b9b4724ef1801db41014bdf6c9b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 28 Sep 2020 13:55:38 +0300 Subject: [PATCH 3/3] update schema on startup --- src/app/startup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/startup.sh b/src/app/startup.sh index 68a7cae..fb1ccb5 100755 --- a/src/app/startup.sh +++ b/src/app/startup.sh @@ -83,6 +83,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