Fixing the broken shit

This commit is contained in:
Blallo 2018-08-01 18:27:59 +02:00
parent 30f599a0b0
commit a21049b1d5
3 changed files with 7 additions and 7 deletions

View file

@ -18,8 +18,8 @@ services:
context: .
dockerfile: ./docker/Dockerfile-tt-rss
volumes:
- ./tt-rss:/var/www/html/tt-rss
- ./docker/ttrss-config.php:/var/www/html/tt-rss/config.php:ro
- ./tt-rss:/var/www/html
- ./docker/ttrss-config.php:/var/www/html/config.php:ro
ports:
- 8000:80
- 9312:9312

View file

@ -3,8 +3,8 @@ FROM php:7.2-apache
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install --no-install-recommends -y libpq-dev \
&& docker-php-ext-install pdo pgsql pdo_pgsql \
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-install pdo pgsql pdo_pgsql \
&& docker-php-ext-enable pdo pgsql pdo_pgsql \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN mkdir /var/www/html/tt-rss \
&& chown www-data:www-data /var/www/html/tt-rss
COPY tt-rss/ /var/www/html/
COPY tt-rss/* /var/www/html/

View file

@ -18,7 +18,7 @@
// *** Basic settings (important!) ***
// ***********************************
define('SELF_URL_PATH', 'http://localhost/');
define('SELF_URL_PATH', 'http://localhost');
// 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/
// You need to set this option correctly otherwise several features