tt-rss running on alpine

same base image as rss-bridge, so that the whole environment is more
coherent
This commit is contained in:
boyska 2018-08-09 16:52:03 +02:00
parent 5c531d6d85
commit 58de37f809
2 changed files with 10 additions and 12 deletions

View file

@ -20,11 +20,15 @@ services:
dockerfile: ./docker/Dockerfile-tt-rss
container_name: feedati_tt_rss
volumes:
- ./tt-rss:/var/www/html
- ./docker/ttrss-config.php:/var/www/html/config.php:ro
- ./tt-rss:/app/public/
- ./docker/ttrss-config.php:/app/public/config.php:ro
ports:
- 8000:80
- 9312:9312
environment:
- APACHE_SERVER_NAME=tt-rss
- PHP_DISPLAY_ERRORS=stdout
- PHP_DISPLAY_STARTUP_ERROR=1
rss-bridge:
image: feedati/rss-bridge:latest

View file

@ -1,10 +1,4 @@
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-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/*
COPY tt-rss/* /var/www/html/
FROM ulsmith/alpine-apache-php7
RUN apk add --update php7-pgsql php7-fileinfo && apk del php7-pdo_mysql php7-pdo_odbc php7-pdo_sqlite db php7-redis php7-ftp && rm -rf /var/cache/apk/
COPY tt-rss/* /app/public/
RUN chown -R apache:root /app/public