add index.php redirecting to /tt-rss/
This commit is contained in:
parent
5896b15359
commit
ec05907c94
|
@ -8,6 +8,7 @@ RUN apk add --no-cache php7 php7-fpm \
|
||||||
git postgresql-client dcron sudo
|
git postgresql-client dcron sudo
|
||||||
|
|
||||||
ADD startup.sh /
|
ADD startup.sh /
|
||||||
|
ADD index.php /
|
||||||
ADD scripts/update /etc/periodic/15min/
|
ADD scripts/update /etc/periodic/15min/
|
||||||
|
|
||||||
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/^listen = 127.0.0.1:9000/listen = 9000/' /etc/php7/php-fpm.d/www.conf
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
<?php
|
||||||
|
header("Location: /tt-rss/");
|
||||||
|
return;
|
|
@ -5,6 +5,8 @@ SRC_REPO=https://git.tt-rss.org/fox/tt-rss.git
|
||||||
|
|
||||||
export PGPASSWORD=$DB_PASS
|
export PGPASSWORD=$DB_PASS
|
||||||
|
|
||||||
|
[ ! -e /var/www/html/index.php ] && cp /index.php /var/www/html
|
||||||
|
|
||||||
PSQL="psql -q -h $DB_HOST -U $DB_USER $DB_NAME"
|
PSQL="psql -q -h $DB_HOST -U $DB_USER $DB_NAME"
|
||||||
|
|
||||||
if [ ! -d $DST_DIR ]; then
|
if [ ! -d $DST_DIR ]; then
|
||||||
|
|
Loading…
Reference in New Issue