self url path

This commit is contained in:
2018-12-15 09:30:02 +01:00
parent 7d7fed88d0
commit 25dcf14c0a
3 changed files with 3 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ RUN ln -sf /usr/bin/php7 /usr/bin/php
EXPOSE 80 443 EXPOSE 80 443
COPY nginx.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY ttrss.conf /etc/php7/php-fpm.d/ttrss.conf COPY php-fpm.conf /etc/php7/php-fpm.d/ttrss.conf
COPY install-db.php /var/lib/tt-rss-install/install-db.php COPY install-db.php /var/lib/tt-rss-install/install-db.php
ADD https://git.tt-rss.org/fox/tt-rss/archive/18.12.tar.gz /tmp/ttrss.tar.gz ADD https://git.tt-rss.org/fox/tt-rss/archive/18.12.tar.gz /tmp/ttrss.tar.gz

View File

@@ -19,7 +19,7 @@
// *** Basic settings (important!) *** // *** Basic settings (important!) ***
// *********************************** // ***********************************
define('SELF_URL_PATH', 'https://feeds.mais-h.eu'); define('SELF_URL_PATH', getenv('SELF_URL_PATH'));
// Full URL of your tt-rss installation. This should be set to the // Full URL of your tt-rss installation. This should be set to the
// location of tt-rss directory, e.g. http://example.org/tt-rss/ // location of tt-rss directory, e.g. http://example.org/tt-rss/
// You need to set this option correctly otherwise several features // You need to set this option correctly otherwise several features

View File

@@ -1,3 +1,4 @@
[www] [www]
env[DATABASE_URL] = $DATABASE_URL env[DATABASE_URL] = $DATABASE_URL
env[SELF_URL_PATH] = $SELF_URL_PATH