Hello. Im trying to use ttrss in my own machine with another softwares like rss-bridge and bibliogram. My docker-compose setup is the following:
version: '3'
services:
db:
image: postgres:12-alpine
restart: unless-stopped
environment:
- POSTGRES_USER=${TTRSS_DB_USER}
- POSTGRES_PASSWORD=${TTRSS_DB_PASS}
- POSTGRES_DB=${TTRSS_DB_NAME}
volumes:
- db:/var/lib/postgresql/data
app:
image: cthulhoo/ttrss-fpm-pgsql-static
restart: unless-stopped
env_file:
- .env
volumes:
- app:/var/www/html
- ./config.d:/opt/tt-rss/config.d:ro
depends_on:
- db
backups:
image: cthulhoo/ttrss-fpm-pgsql-static
restart: unless-stopped
env_file:
- .env
volumes:
- backups:/backups
- app:/var/www/html
depends_on:
- db
command: /opt/tt-rss/dcron.sh -f
updater:
image: cthulhoo/ttrss-fpm-pgsql-static
restart: unless-stopped
env_file:
- .env
volumes:
- app:/var/www/html
- ./config.d:/opt/tt-rss/config.d:ro
depends_on:
- app
command: /opt/tt-rss/updater.sh
web-nginx:
image: cthulhoo/ttrss-web-nginx
restart: unless-stopped
ports:
- ${HTTP_PORT}:80
volumes:
- app:/var/www/html:ro
depends_on:
- app
rss-bridge:
volumes:
- ./rss-bridge-whitelist.txt:/app/whitelist.txt
image: rssbridge/rss-bridge:latest
ports:
- 3000:80
restart: unless-stopped
bibliogram:
build:
context: ./bibliogram
image: cloudrac3r/bibliogram
volumes:
- bibliogram-db:/app/db
ports:
- 10407:80
restart: unless-stopped
volumes:
db:
app:
certs:
backups:
bibliogram-db:
Thus, when I subscribe to a feed I put the docker hostname, lets say: http://bibliogram/u/some_user/atom.xml
, where bibliogram
is the name of the bibliogram service on my docker setup.
Okay, either bibliogram and rss-bridge works fine but for some reason the images from bibliogram arent showed by ttrss. Ive checked that bibliogram returns images url like http://localhost:10407/image.jpg
but looking to ttrss HTML in browser console. it shows http://localhost/image.jpg
(without the port).
But, for some rease, when Bibliogram returns a video, ttrss parse it normally: http://localhost:10407/videoproxy.mp4
I read here that ttrss doesnt download anything from localhost, so how could I solve this ? I dont want to host it in another machine nor use another rss client.
Please, what are my options in this case?