1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Hanjo Meinhardt 8889a275c0 fix startup and drop 18.12 tag build
the build was successful Details
5 years ago
Hanjo Meinhardt 9349cf0462 add slack 5 years ago

@ -9,8 +9,13 @@ pipeline:
- ${TTRSS_GIT_TAG}
secrets: [ docker_username, docker_password ]
slack:
image: plugins/slack
channel: drone
username: drone
secrets: [ slack_webhook ]
matrix:
TTRSS_GIT_TAG:
- master
- 18.12
- 19.2

@ -13,6 +13,9 @@ RUN apt-get update && apt-get install -y \
php7.2-json \
php7.2-pgsql \
php7.2-mysql \
php7.2-intl \
php7.2-mbstring \
php7.2-xml \
curl \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
@ -31,8 +34,9 @@ WORKDIR /var/www
# && apt-get purge -y --auto-remove curl \
RUN curl -SL https://git.tt-rss.org/git/tt-rss/archive/$TTRSS_GIT_TAG.tar.gz | tar xzC /var/www --strip-components 1 \
&& cp config.php-dist config.php \
&& chown www-data:www-data -R /var/www \
&& cp config.php-dist config.php
&& mkdir /var/run/php
# expose only nginx HTTP port
EXPOSE 80

@ -1,8 +1,8 @@
[supervisord]
nodaemon=true
[program:php5-fpm]
command=/usr/sbin/php5-fpm --nodaemonize
[program:php-fpm7.2]
command=/usr/sbin/php-fpm7.2 --nodaemonize
[program:nginx]
command=/usr/sbin/nginx -g "daemon off;"

Loading…
Cancel
Save