ViewTube / viewtube

▶️ ViewTube: The open source, privacy-conscious way to enjoy your favorite YouTube content. Docs: https://viewtube.wiki, Status: https://uptime.viewtube.io

Home Page:https://viewtube.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection refused using docker-compose

manuelkamp opened this issue · comments

I use a fresh LXC with Ubuntu 20.04 on my Proxmox cluster. Docker-CE and Docker-Compose installed. I used the following docker-compose.yml:

version: '3' services: viewtube: restart: unless-stopped # Or use mauriceo/viewtube:dev for the development version image: mauriceo/viewtube:latest # ViewTube will not start until the database and redis are ready depends_on: - viewtube-mongodb - viewtube-redis # Make sure all services are in the same network networks: - viewtube volumes: # This will map ViewTube's data directory to the local folder ./data/viewtube/ - ./data/viewtube:/data environment: - VIEWTUBE_DATABASE_HOST=viewtube-mongodb - VIEWTUBE_REDIS_HOST=viewtube-redis ports: - 8066:8066 viewtube-mongodb: restart: unless-stopped image: mongo:5 networks: - viewtube volumes: - ./data/db:/data/db viewtube-redis: restart: unless-stopped image: redis:7 networks: - viewtube volumes: - ./data/redis:/data networks: viewtube:

The container is starting, but I can not access the site from any browser in my network. using http://srv-viewtube.domain.local:8066 - Browser says "ERR_CONNECTION_REFUSED"

In addition to that, also on the server it seems to be not working:
root@srv-viewtube:~/viewtube# wget localhost:8066 --2023-03-29 18:47:08-- http://localhost:8066/ Resolving localhost (localhost)... ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:8066... failed: Connection refused. Connecting to localhost (localhost)|127.0.0.1|:8066... failed: Connection refused.

What am I missing or doing wrong?

commented

Maybe there is a mistake in the default docker compose on the wiki. I will test it and get back to you.

Same issue here, did you identify the problem/resolution?

No, I tried another "competitor", where the docker container worked fine. Just recently it stopped working out of nowhere, but restoring a previous backup solved it. But thats another topic.

Would you share which competitor?

Piped

commented

Piped and ViewTube are not competitors :). In the end, you, the user, get to decide which one works best for you.

Very true, unfortunately I cannot get Viewtube to work in my selfhost environment, because the frontend cannot get a connection to the mongo db.

commented

I would recommend you try to run it again if you'd like to, there have been many improvements in the recent releases