Compare commits
11 Commits
Author | SHA1 | Date |
---|---|---|
Robert Kaussow | da8b67cf1d | |
Robert Kaussow | 08d4b6feb7 | |
Robert Kaussow | 95cb030307 | |
Robert Kaussow | a18df05208 | |
Robert Kaussow | 1d4c4b2db9 | |
Robert Kaussow | 166f9d9e31 | |
Robert Kaussow | cfe0a52f65 | |
Robert Kaussow | 305893a0bb | |
Robert Kaussow | 67a1082908 | |
Robert Kaussow | 69b5a66a03 | |
Robert Kaussow | a197d04db5 |
|
@ -88,7 +88,7 @@ local PipelineNotifications(depends_on=[]) = {
|
|||
DOCKERHUB_REPO_PREFIX: "xoxys",
|
||||
DOCKERHUB_REPO_NAME: "ttrss",
|
||||
README_PATH: "README.md",
|
||||
SHORT_DESCRIPTION: "Tiny Tiny RSS - free and open source news feed reader and aggregator"
|
||||
SHORT_DESCRIPTION: "Tiny Tiny RSS - Free and open source news feed reader and aggregator"
|
||||
},
|
||||
when: {
|
||||
ref: [
|
||||
|
|
|
@ -79,7 +79,7 @@ steps:
|
|||
DOCKERHUB_USERNAME:
|
||||
from_secret: docker_username
|
||||
README_PATH: README.md
|
||||
SHORT_DESCRIPTION: Tiny Tiny RSS - free and open source news feed reader and aggregator
|
||||
SHORT_DESCRIPTION: Tiny Tiny RSS - Free and open source news feed reader and aggregator
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
|
@ -118,6 +118,6 @@ depends_on:
|
|||
|
||||
---
|
||||
kind: signature
|
||||
hmac: 1be20e6fec87140af3743fe805e738be2a4750a85cc8452332287841c30b699f
|
||||
hmac: dc21d353585f6faf703b81baa1265634b52543a981c2745f07859dcc41dcabf7
|
||||
|
||||
...
|
||||
|
|
|
@ -23,7 +23,13 @@ RUN apk --update add --virtual .build-deps tar curl && \
|
|||
curl -SsL -o /etc/php7/browscap.ini https://browscap.org/stream?q=Lite_PHP_BrowsCapINI && \
|
||||
apk del .build-deps && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
rm -rf /tmp/*
|
||||
rm -rf /tmp/* && \
|
||||
mkdir -p /var/lib/php/tmp_upload && \
|
||||
mkdir -p /var/lib/php/soap_cache && \
|
||||
mkdir -p /var/lib/php/session && \
|
||||
chown -R nginx:nginx /var/lib/php/tmp_upload && \
|
||||
chown -R nginx:nginx /var/lib/php/soap_cache && \
|
||||
chown -R nginx:nginx /var/lib/php/session
|
||||
|
||||
ADD overlay/ /
|
||||
|
||||
|
|
21
README.md
21
README.md
|
@ -3,7 +3,7 @@
|
|||
[![Build Status](https://drone.rknet.org/api/badges/docker/ttrss/status.svg)](https://drone.rknet.org/docker/ttrss/)
|
||||
[![Microbadger](https://images.microbadger.com/badges/image/xoxys/ttrss.svg)](https://microbadger.com/images/xoxys/ttrss "Get your own image badge on microbadger.com")
|
||||
|
||||
TT-RSS is an open source web-based news feed (RSS/Atom) reader and aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible.
|
||||
TT-RSS is an open source web-based news feed (RSS/Atom) reader and aggregator, designed to allow you to read news from any location, while feeling as close to a real desktop application as possible. This repository is just a wrapper to build a community docker image from [TT-RSS](https://git.tt-rss.org/git/tt-rss) releases.
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -36,9 +36,9 @@ services:
|
|||
depends_on:
|
||||
- db
|
||||
volumes:
|
||||
- plugins:/var/www/app/plugins.local
|
||||
- icons:/var/www/app/feed-icons
|
||||
- themes:/var/www/app/themes.local
|
||||
- ttrss_plugins:/var/www/app/plugins.local
|
||||
- ttrss_icons:/var/www/app/feed-icons
|
||||
- ttrss_themes:/var/www/app/themes.local
|
||||
|
||||
db:
|
||||
image: postgres
|
||||
|
@ -52,11 +52,11 @@ services:
|
|||
volumes:
|
||||
postgres_data:
|
||||
driver: local
|
||||
plugins:
|
||||
ttrss_plugins:
|
||||
driver: local
|
||||
icons:
|
||||
ttrss_icons:
|
||||
driver: local
|
||||
themes:
|
||||
ttrss_themes:
|
||||
driver: local
|
||||
```
|
||||
|
||||
|
@ -114,6 +114,13 @@ PHP_ALLOW_URL_FOPEN=On
|
|||
PHP_ALLOW_URL_INCLUDE=Off
|
||||
PHP_DATE_TIMEZONE=Europe/Berlin
|
||||
PHP_SQL_SAFE_MODE=On
|
||||
PHP_OPCACHE_ENABLE=On
|
||||
PHP_OPCACHE_MEMORY_CONSUMPTION=64
|
||||
PHP_OPCACHE_MAX_ACCELERATED_FILES=2000
|
||||
PHP_OPCACHE_MAX_WASTED_PERCENTAGE=5
|
||||
PHP_OPCACHE_INTERNED_STRINGS_BUFFER=4
|
||||
PHP_OPCACHE_REVALIDATE_FREQ=2
|
||||
PHP_OPCACHE_SAVE_COMMENTS=1
|
||||
```
|
||||
|
||||
### License
|
||||
|
|
|
@ -8,9 +8,9 @@ services:
|
|||
depends_on:
|
||||
- db
|
||||
volumes:
|
||||
- plugins:/var/www/app/plugins.local
|
||||
- icons:/var/www/app/feed-icons
|
||||
- themes:/var/www/app/themes.local
|
||||
- ttrss_plugins:/var/www/app/plugins.local
|
||||
- ttrss_icons:/var/www/app/feed-icons
|
||||
- ttrss_themes:/var/www/app/themes.local
|
||||
|
||||
db:
|
||||
image: postgres
|
||||
|
@ -24,9 +24,9 @@ services:
|
|||
volumes:
|
||||
postgres_data:
|
||||
driver: local
|
||||
plugins:
|
||||
ttrss_plugins:
|
||||
driver: local
|
||||
icons:
|
||||
ttrss_icons:
|
||||
driver: local
|
||||
themes:
|
||||
ttrss_themes:
|
||||
driver: local
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
*/15 * * * * /usr/bin/php /var/www/app/update.php --feeds
|
|
@ -16,7 +16,7 @@ http {
|
|||
keepalive_timeout 65;
|
||||
server_tokens off;
|
||||
access_log off;
|
||||
error_log /dev/stderr;
|
||||
error_log /dev/stdout;
|
||||
|
||||
fastcgi_buffers 16 16k;
|
||||
fastcgi_buffer_size 32k;
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/execlineb -P
|
||||
crond -f
|
|
@ -1,2 +0,0 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-setuidgid nginx php7 /var/www/app/update_daemon2.php > /dev/null 2>&1
|
|
@ -21,7 +21,7 @@ serialize_precision = 17
|
|||
|
||||
open_basedir = "/var/www/app:/var/lib/php/tmp_upload:/var/lib/php/session:/var/lib/php/soap_cache"
|
||||
|
||||
disable_functions = system, exec, shell_exec, phpinfo, show_source, highlight_file, popen, proc_open, fopen_with_path, dbmopen, dbase_open, putenv, move_uploaded_file, mkdir, rmdir, chmod, rename, filepro, filepro_rowcount, filepro_retrieve, posix_mkfifo
|
||||
disable_functions = system, exec, shell_exec, show_source, highlight_file, popen, proc_open, fopen_with_path, dbmopen, dbase_open, putenv, move_uploaded_file, mkdir, rmdir, rename, filepro, filepro_rowcount, filepro_retrieve, posix_mkfifo
|
||||
disable_classes =
|
||||
|
||||
;highlight.string = #DD0000
|
||||
|
@ -350,17 +350,17 @@ ldap.max_links = -1
|
|||
;dba.default_handler =
|
||||
|
||||
[opcache]
|
||||
;opcache.enable = 0
|
||||
opcache.enable = {{ getenv "PHP_OPCACHE_ENABLE" "On" }}
|
||||
;opcache.enable_cli = 0
|
||||
;opcache.memory_consumption = 64
|
||||
;opcache.interned_strings_buffer = 4
|
||||
;opcache.max_accelerated_files = 2000
|
||||
;opcache.max_wasted_percentage = 5
|
||||
opcache.memory_consumption = {{ getenv "PHP_OPCACHE_MEMORY_CONSUMPTION" "64" }}
|
||||
opcache.interned_strings_buffer = {{ getenv "PHP_OPCACHE_INTERNED_STRINGS_BUFFER" "4" }}
|
||||
opcache.max_accelerated_files = {{ getenv "PHP_OPCACHE_MAX_ACCELERATED_FILES" "2000" }}
|
||||
opcache.max_wasted_percentage = {{ getenv "PHP_OPCACHE_MAX_WASTED_PERCENTAGE" "5" }}
|
||||
;opcache.use_cwd = 1
|
||||
;opcache.validate_timestamps = 1
|
||||
;opcache.revalidate_freq = 2
|
||||
opcache.revalidate_freq = {{ getenv "PHP_OPCACHE_REVALIDATE_FREQ" "2" }}
|
||||
;opcache.revalidate_path = 0
|
||||
;opcache.save_comments = 1
|
||||
opcache.save_comments = {{ getenv "PHP_OPCACHE_MAX_WASTED_PERCENTAGE" "1" }}
|
||||
;opcache.fast_shutdown = 0
|
||||
;opcache.enable_file_override = 0
|
||||
;opcache.optimization_level = 0xffffffff
|
||||
|
|
Reference in New Issue