2019-07-03 14:20:41 +00:00
# [ttrss](https://gitea.rknet.org/docker/ttrss)
[![Build Status ](https://drone.rknet.org/api/badges/docker/ttrss/status.svg )](https://drone.rknet.org/docker/ttrss/)
2019-07-04 07:34:45 +00:00
[![Microbadger ](https://images.microbadger.com/badges/image/xoxys/ttrss.svg )](https://microbadger.com/images/xoxys/ttrss "Get your own image badge on microbadger.com")
2019-06-30 21:02:41 +00:00
2019-07-03 14:15:38 +00:00
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.
## Usage
Here are some example snippets to help you get started creating a container.
2019-07-04 06:12:52 +00:00
> **WARNING**: For production usage you should secure your database and NOT use the default credentials!
2019-07-03 14:15:38 +00:00
### Docker
```Shell
docker create \
--name=ttrss \
-p 80:80 \
xoxys/ttrss
```
### Docker Compose
Compatible with docker-compose v2 schemas.
```Yaml
---
2019-07-16 20:24:03 +00:00
version: '2.1'
2019-07-03 14:15:38 +00:00
services:
ttrss:
image: xoxys/ttrss:latest
ports:
- "80:80"
depends_on:
- db
2019-07-11 14:12:37 +00:00
volumes:
- plugins:/var/www/app/plugins.local
- icons:/var/www/app/feed-icons
2019-07-16 20:24:03 +00:00
- themes:/var/www/app/themes.local
2019-07-03 14:15:38 +00:00
db:
image: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: secure
POSTGRES_DB: ttrss
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
postgres_data:
driver: local
2019-07-11 14:12:37 +00:00
plugins:
driver: local
icons:
driver: local
2019-07-16 20:24:03 +00:00
themes:
driver: local
2019-07-03 14:15:38 +00:00
```
## Environment variables
### TT-RSS
```Shell
TTRSS_DB_TYPE=pgsql
TTRSS_DB_HOST=db
TTRSS_DB_USER=postgres
TTRSS_DB_NAME=ttrss
TTRSS_DB_PASS=secure
TTRSS_DB_PORT=5432
TTRSS_SELF_URL_PATH=http://localhost/
TTRSS_SINGLE_USER_MODE=false
TTRSS_SIMPLE_UPDATE_MODE=false
TTRSS_AUTH_AUTO_CREATE=true
TTRSS_AUTH_AUTO_LOGIN=true
TTRSS_FORCE_ARTICLE_PURGE=0
TTRSS_SPHINX_SERVER=localhost:9312
TTRSS_SPHINX_INDEX=ttrss, delta
TTRSS_ENABLE_REGISTRATION=false
TTRSS_REG_NOTIFY_ADDRESS=
TTRSS_REG_MAX_USERS=10;
TTRSS_SESSION_COOKIE_LIFETIME=86400
TTRSS_SMTP_FROM_NAME=Tiny Tiny RSS
2019-07-11 14:12:37 +00:00
TTRSS_SMTP_FROM_ADDRESS=
2019-07-03 14:15:38 +00:00
TTRSS_DIGEST_SUBJECT=[tt-rss] New headlines for last 24 hours
TTRSS_PLUGINS=auth_internal, note
```
### PHP
```Shell
PHP_EXPOSE_PHP=Off
PHP_MAX_EXECUTION_TIME=30
PHP_MAX_INPUT_TIME=60
PHP_MEMORY_LIMIT=50M
PHP_ERROR_REPORTING=E_ALL & ~E_DEPRECATED & ~E_STRICT
PHP_DISPLAY_ERRORS=Off
PHP_DISPLAY_STARTUP_ERRORS=Off
PHP_LOG_ERRORS=On
PHP_LOG_ERRORS_MAX_LEN=1024
PHP_IGNORE_REPEATED_ERRORS=Off
PHP_IGNORE_REPEATED_SOURCE=Off
PHP_REPORT_MEMLEAKS=On
PHP_HTML_ERRORSOn
PHP_ERROR_LOG=/proc/self/fd/2
PHP_POST_MAX_SIZE=8M
PHP_FILE_UPLOADS=Off
PHP_UPLOAD_MAX_FILESIZE=2M
PHP_MAX_FILE_UPLOADS=2
PHP_ALLOW_URL_FOPEN=On
PHP_ALLOW_URL_INCLUDE=Off
PHP_DATE_TIMEZONE=Europe/Berlin
PHP_SQL_SAFE_MODE=On
```
### License
2019-07-03 14:20:41 +00:00
This project is licensed under the MIT License - see the [LICENSE ](https://gitea.rknet.org/docker/ttrss/src/branch/master/LICENSE ) file for details.
2019-07-03 14:15:38 +00:00
### Maintainers and Contributors
[Robert Kaussow ](https://gitea.rknet.org/xoxys )