1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-09 22:09:52 +02:00

add optional support for xdebug

This commit is contained in:
Andrew Dolgov 2021-02-22 12:13:20 +03:00
parent 75d1291976
commit c03e0f65e7
3 changed files with 18 additions and 1 deletions

View file

@ -6,7 +6,7 @@ RUN apk add --no-cache dcron php8 php8-fpm \
php8-intl php8-xml php8-curl php8-session \
php8-dom php8-fileinfo php8-json php8-iconv \
php8-pcntl php8-posix php8-zip php8-openssl \
git postgresql-client sudo
git postgresql-client sudo php8-pecl-xdebug
ENV SCRIPT_ROOT=/opt/tt-rss
@ -26,6 +26,10 @@ RUN sed -i.bak 's/;clear_env = .*/clear_env = no/i' /etc/php8/php-fpm.d/www.conf
ENV OWNER_UID=1000
ENV OWNER_GID=1000
ENV TTRSS_XDEBUG_ENABLED=""
ENV TTRSS_XDEBUG_HOST=""
ENV TTRSS_XDEBUG_PORT=""
ENV TTRSS_DB_TYPE="pgsql"
ENV TTRSS_DB_HOST="db"
ENV TTRSS_DB_USER="%DB_USER"