clue / docker-ttrss Goto Github PK
View Code? Open in Web Editor NEWTiny Tiny RSS feed reader as a docker image.
Tiny Tiny RSS feed reader as a docker image.
Title says it all really.
Instead of passing the database container ID ($DB), one has to pass the container name.
Option A) Explicitly assign a container name to the database
$ docker run -d --name ttrssdb nornagon/postgres
$ docker run -d --link ttrssdb:db -p 80:80 clue/ttrss
Option B) Get current container name for running container
$ DB=$(docker run -d nornagon/postgres)
$ NAME=`docker inspect -f "{{ .Name }}" $DB`
$ docker run -d --link $NAME:db -p 80:80 clue/ttrss
Will you merge the pull requests and update to php7?
Building image currently fails because Tiny Tiny RSS is no longer available on GitHub
See https://tt-rss.org/forum/viewtopic.php?f=10&t=3432 for announcement
I'd suggest removing line 17 of the Dockerfile and setting SELF_URL_PATH on runtime (ie. when the container is started) so that it can be either "guessed" by setting it to the container's hostname (docker run -h HOSTNAME
) or directly set via an environment variable. Something like TTRSS_URL
perhaps?
hi, thank you so much for this dockerfile
Do you happen to know
how can we enable api on install?
Thank you
Joyce
I would like to try out this docker image but I don't want to use an Ubuntu-based image because I use Fedora.
Hi!
I'm trying to run on a docker host behind a corporate proxy. How do I tell ttrss to use my corporate proxy?
The error I get is typically the following:
Tiny Tiny RSS: Forum: 7 Failed to connect to tt-rss.org port 80: Connection timed out
Tiny Tiny RSS: New Releases: 7 Failed to connect to tt-rss.org port 80: Connection timed out
i tried using
--volume /path/config.php:/var/www/config.php
so i can keep the configs on container reruns. but it doesn't work.
The readme says at the db part:
Also, this makes this container quite disposable, as it doesn't store any sensitive information at all.
This is pretty wrong, since the config.php has to be changed in order to get the "forgot password" feature work.
Looks like the Docker Hub builds have stopped working:
Build failed: The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y nginx supervisor php5-fpm php5-cli php5-curl php5-gd php5-json php5-pgsql php5-mysql php5-mcrypt && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
I'm guessing this is due to the use of FROM ubuntu
(without a version specified), with a recent Ubuntu upgrade dropping PHP5.
11
Currently, this image requires a PostgreSQL database, while ttrss also supports MySQL databases.
We should (also!) support linking a MySQL instance in place of a PostgreSQL one. We can likely use port discovery for the linked "db" instance.
The dbconnect function appears to need a database named docker when connecting as the docker user. This in spite of the fact that the code appears to set the dbname to null.
root@frith:~# docker start -a ttrss
ttrss
Database login failed, trying to create...
PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[08006] [7] FATAL: database "docker" does not exist' in /configure-db.php:99
Stack trace:
#0 /configure-db.php(99): PDO->__construct('pgsql:host=172....')
#1 /configure-db.php(38): dbconnect(Array)
#2 {main}
thrown in /configure-db.php on line 99
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.