From e38d98dcd49954c1bb600510ffd41c48404fe704 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 15 Nov 2019 17:08:40 +0300 Subject: [PATCH] UPD readme --- README.md | 25 +++++++++++++++++-------- web/nginx.conf | 2 +- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 665460d..a5e003b 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,30 @@ # A primitive set of scripts to deploy tt-rss via docker-compose +**experimental stuff, don't use in production** + The idea is to provide tt-rss working (and updating) out of the box with minimal fuss. The general outline of the configuration is as follows: -- three linked containers (frontend: nginx, database: pgsql, application: php/fpm) -- nginx has its http port exposed to the outside -- feed updating is done via embedded cron job, every 15 minutes -- tt-rss source updates from git master repository on container restart -- schema is installed automatically if it is missing -- config.php is generated if it is missing -- SSL termination not included, you use a sidecar container for that -- tt-rss code is exposed on a persistent volume so plugins, etc. could be easily added + - three linked containers (frontend: nginx, database: pgsql, application: php/fpm) + - nginx has its http port exposed to the outside + - feed updating is done via embedded cron job, every 15 minutes + - tt-rss source updates from git master repository on container restart + - schema is installed automatically if it is missing + - config.php is generated if it is missing + - SSL termination not included, you use a sidecar container for that + - tt-rss code is exposed on a persistent volume so plugins, etc. could be easily added Post your feedback here: https://community.tt-rss.org/t/docker-compose-tt-rss/2894 +### TODO + + - support for sending mail somehow (smtp mailer?) + - properly deal with SELF\_URL\_PATH + - nginx xaccel for static files in cache/ + - separate owner user w/ configurable UID/GID + diff --git a/web/nginx.conf b/web/nginx.conf index 44f1614..0476125 100644 --- a/web/nginx.conf +++ b/web/nginx.conf @@ -23,7 +23,7 @@ http { root /var/www/html; location / { - try_files $uri $uri/index.php; + try_files $uri $uri =404; } location /tt-rss/cache {