forked from FreshRSS/FreshRSS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request FreshRSS#2298 from FreshRSS/dev
FreshRSS 1.14.0
- Loading branch information
Showing
216 changed files
with
11,697 additions
and
1,803 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,5 @@ constants.local.php | |
*.save | ||
*.autosav | ||
*.autosave | ||
*.sass-cache | ||
sass.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,38 @@ | ||
FROM alpine:3.8 | ||
FROM ubuntu:18.10 | ||
|
||
ENV TZ UTC | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
RUN apk add --no-cache \ | ||
apache2 php7-apache2 \ | ||
php7 php7-curl php7-gmp php7-intl php7-mbstring php7-xml php7-zip \ | ||
php7-ctype php7-dom php7-fileinfo php7-iconv php7-json php7-session php7-simplexml php7-xmlreader php7-zlib \ | ||
php7-pdo_sqlite php7-pdo_mysql php7-pdo_pgsql | ||
RUN apt update && \ | ||
apt install --no-install-recommends -y \ | ||
ca-certificates cron \ | ||
apache2 libapache2-mod-php \ | ||
php-curl php-intl php-mbstring php-xml php-zip \ | ||
php-sqlite3 php-mysql php-pgsql && \ | ||
rm -rf /var/lib/apt/lists/ | ||
|
||
RUN mkdir -p /var/www/FreshRSS /run/apache2/ | ||
RUN mkdir -p /var/www/FreshRSS /run/apache2/ /run/php/ | ||
WORKDIR /var/www/FreshRSS | ||
|
||
COPY . /var/www/FreshRSS | ||
COPY ./Docker/*.Apache.conf /etc/apache2/conf.d/ | ||
|
||
RUN rm -f /etc/apache2/conf.d/languages.conf /etc/apache2/conf.d/info.conf \ | ||
/etc/apache2/conf.d/status.conf /etc/apache2/conf.d/userdir.conf && \ | ||
sed -r -i "/^\s*LoadModule .*mod_(alias|autoindex|negotiation|status).so$/s/^/#/" \ | ||
/etc/apache2/httpd.conf && \ | ||
sed -r -i "/^\s*#\s*LoadModule .*mod_(deflate|expires|headers|mime|setenvif).so$/s/^\s*#//" \ | ||
/etc/apache2/httpd.conf && \ | ||
sed -r -i "/^\s*(CustomLog|ErrorLog|Listen) /s/^/#/" \ | ||
/etc/apache2/httpd.conf && \ | ||
echo "17,37 * * * * su apache -s /bin/sh -c 'php /var/www/FreshRSS/app/actualize_script.php' 2>> /proc/1/fd/2 > /tmp/FreshRSS.log" >> \ | ||
COPY ./Docker/*.Apache.conf /etc/apache2/sites-available/ | ||
|
||
RUN a2dismod -f alias autoindex negotiation status && \ | ||
a2enmod deflate expires headers mime setenvif && \ | ||
a2disconf '*' && \ | ||
a2dissite '*' && \ | ||
a2ensite 'FreshRSS*' | ||
|
||
RUN sed -r -i "/^\s*(CustomLog|ErrorLog|Listen) /s/^/#/" /etc/apache2/apache2.conf && \ | ||
sed -r -i "/^\s*Listen /s/^/#/" /etc/apache2/ports.conf && \ | ||
echo "17,37 su apache -s /bin/sh -c 'php /var/www/FreshRSS/app/actualize_script.php' 2>> /proc/1/fd/2 > /tmp/FreshRSS.log" >> \ | ||
/var/spool/cron/crontabs/root | ||
|
||
ENV COPY_SYSLOG_TO_STDERR On | ||
ENV CRON_MIN '' | ||
ENTRYPOINT ["./Docker/entrypoint.sh"] | ||
|
||
EXPOSE 80 | ||
CMD ([ -z "$CRON_MIN" ] || crond -d 6) && \ | ||
exec httpd -D FOREGROUND | ||
CMD ([ -z "$CRON_MIN" ] || cron) && \ | ||
. /etc/apache2/envvars && \ | ||
exec apache2 -D FOREGROUND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM alpine:3.9 | ||
|
||
ENV TZ UTC | ||
|
||
RUN apk add --no-cache \ | ||
apache2 php7-apache2 \ | ||
php7 php7-curl php7-gmp php7-intl php7-mbstring php7-xml php7-zip \ | ||
php7-ctype php7-dom php7-fileinfo php7-iconv php7-json php7-session php7-simplexml php7-xmlreader php7-zlib \ | ||
php7-pdo_sqlite php7-pdo_mysql php7-pdo_pgsql | ||
|
||
RUN mkdir -p /var/www/FreshRSS /run/apache2/ | ||
WORKDIR /var/www/FreshRSS | ||
|
||
COPY . /var/www/FreshRSS | ||
COPY ./Docker/*.Apache.conf /etc/apache2/conf.d/ | ||
|
||
RUN rm -f /etc/apache2/conf.d/languages.conf /etc/apache2/conf.d/info.conf \ | ||
/etc/apache2/conf.d/status.conf /etc/apache2/conf.d/userdir.conf && \ | ||
sed -r -i "/^\s*LoadModule .*mod_(alias|autoindex|negotiation|status).so$/s/^/#/" \ | ||
/etc/apache2/httpd.conf && \ | ||
sed -r -i "/^\s*#\s*LoadModule .*mod_(deflate|expires|headers|mime|setenvif).so$/s/^\s*#//" \ | ||
/etc/apache2/httpd.conf && \ | ||
sed -r -i "/^\s*(CustomLog|ErrorLog|Listen) /s/^/#/" \ | ||
/etc/apache2/httpd.conf && \ | ||
echo "17,37 * * * * su apache -s /bin/sh -c 'php /var/www/FreshRSS/app/actualize_script.php' 2>> /proc/1/fd/2 > /tmp/FreshRSS.log" >> \ | ||
/var/spool/cron/crontabs/root | ||
|
||
ENV COPY_SYSLOG_TO_STDERR On | ||
ENV CRON_MIN '' | ||
ENTRYPOINT ["./Docker/entrypoint.sh"] | ||
|
||
EXPOSE 80 | ||
CMD ([ -z "$CRON_MIN" ] || crond -d 6) && \ | ||
exec httpd -D FOREGROUND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.