{"id":21177424,"url":"https://github.com/gpbenton/ttrss_docker_compose","last_synced_at":"2026-05-18T15:33:35.893Z","repository":{"id":211865277,"uuid":"115260360","full_name":"gpbenton/ttrss_docker_compose","owner":"gpbenton","description":"A docker compose configuration to run ttrss as a php-fpm service","archived":false,"fork":false,"pushed_at":"2019-05-25T14:01:00.000Z","size":6,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-27T09:32:42.873Z","etag":null,"topics":["docker","docker-compose","tiny-tiny-rss","ttrss"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gpbenton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-12-24T12:06:18.000Z","updated_at":"2022-01-24T06:29:57.000Z","dependencies_parsed_at":"2023-12-11T10:46:29.217Z","dependency_job_id":null,"html_url":"https://github.com/gpbenton/ttrss_docker_compose","commit_stats":null,"previous_names":["gpbenton/ttrss_docker_compose"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gpbenton/ttrss_docker_compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpbenton%2Fttrss_docker_compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpbenton%2Fttrss_docker_compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpbenton%2Fttrss_docker_compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpbenton%2Fttrss_docker_compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpbenton","download_url":"https://codeload.github.com/gpbenton/ttrss_docker_compose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpbenton%2Fttrss_docker_compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33182854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","tiny-tiny-rss","ttrss"],"created_at":"2024-11-20T17:16:01.741Z","updated_at":"2026-05-18T15:33:35.861Z","avatar_url":"https://github.com/gpbenton.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ttrss_docker_compose\nA docker compose configuration to run ttrss as a php-fpm service\n\n## Background\nThe simple way of running ttrss in a docker container is to use a prebuilt container such as https://hub.docker.com/r/clue/ttrss/.  However this includes an nginx web server, and rather precludes running another web service on your machine, unless you run another web server.\n\nThis docker-compose file runs a php-fpm official image modified with components necessary for ttrss, combined with a postgres official image, that can be run from a separate  web server such as caddy or nginx.\n\n## Execution\nClone the tt-rss repository into ${HOME}/public_html/ttrss.  If you choose another location, you will have to modify the files.\n\nClone this repository into another directory named ttrss.   The exact location doesn't really matter, but the directory name is used to generate the docker internal network name.  You can use environmental variables to specify this, see the docker-compose documentation.\n\nIn this directory do\n\n```\ndocker-compose build\ndocker-compose up -d\n```\n\nWhich should create the two containers, and a database volume for storing your ttrss data.  Check with `docker ps` and `docker-compose logs`\n\n\n## Integration with Web Server\n\nI use caddy with this configuration.  NGINX configurations to do the equivalent are welcome.\n\n```\nhttp://localhost/ttrss {\n  root /srv/ttrss\n\n  # ttrss is on the ttrss_default network created by docker-compose\n  fastcgi / ttrss:9000 php {\n    root /var/www/html/ttrss\n  }\n\n}\n```\n## tt-rss procedures\nYou can follow all the standard tt-rss configuration and update procedures.\n\n## Feed updating\nTo update feeds, run the following in a crontab in the host machine\n\n```\n# refresh ttrss feeds\n*/15 * * * * /usr/bin/docker exec --user www-data ttrss php ttrss/update.php --feeds \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpbenton%2Fttrss_docker_compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpbenton%2Fttrss_docker_compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpbenton%2Fttrss_docker_compose/lists"}