iv-org / invidious

Invidious is an alternative front-end to YouTube
https://invidious.io
GNU Affero General Public License v3.0
16.15k stars 1.78k forks source link

Docker instructions not using compose #4944

Closed HuwSy closed 2 hours ago

HuwSy commented 2 hours ago

I'm trying to run this on a server that does not and can not have docker compose installed (nor does it have git) but does have docker and curl so I am trying to work around this the best I can. I have got this far and cant get it all running. Any support or updates to the documentations would be appreciated. What I have so far is as follows, with some tokens and keys removed, but just sits in a reboot loop;

` cd /home/invidious curl -LO https://github.com/iv-org/invidious/archive/refs/heads/master.zip unzip master.zip rm master.zip cd invidious-master

docker volume create postgresdata

docker create --name=invidious-db \ --restart unless-stopped \ -v postgresdata:/var/lib/postgresql/data \ -v /home/invidious/invidious-master/config/sql:/config/sql \ -v /home/invidious/invidious-master/docker/init-invidious-db.sh:/docker-entrypoint-initdb.d/init-invidious-db.sh \ -e POSTGRES_DB=invidious \ -e POSTGRES_USER=kemal \ -e POSTGRES_PASSWORD=kemal \ docker.io/library/postgres:14

docker start invidious-db

docker create --name=inv_sig_helper \ -e RUST_LOG=Error \ --restart unless-stopped \ --cap-drop ALL \ --read-only \ --security-opt no-new-privileges:true \ quay.io/invidious/inv-sig-helper:latest --tcp,0.0.0.0:12999

docker start inv_sig_helper

docker create --name=invidious \ --restart unless-stopped \ -p 3000:3000 \ -e INVIDIOUS_CONFIG="db: dbname: invidious user: kemal password: kemal host: invidious-db port: 5432 check_tables: true signature_server: inv_sig_helper:12999 visitor_data: .. po_token: .. hmac_key: .. " \ quay.io/invidious/invidious:latest

docker start invidious `

unixfox commented 2 hours ago

Hello, this sounds like a configuration issue on your side.

As maintainers, we do not have a lot of free time so you should ask your question on our matrix channel or IRC.