ReviveTube Setup in a Docker
Setup: jump
Reverse Proxy nginx: jump
Setup
First, install docker with sudo apt install docker.io && sudo curl -L "https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose
Then run
wget https://cloud.theerrorexe.dev/revivetube-docker.tar
docker load -i revivetube-docker.tar
Now Create a docker-compose.yml with this content:
version: "3.9"
services:
revivetube:
image: theerrorexe/revivetube:latest
ports:
- "5000:5000"
environment:
- GOOGLE_API_TOKEN=your_api_key
volumes:
- .:/app
restart: unless-stopped
Now run sudo docker-compose up -d
or sudo docker compose up -d
ReviveTube should now run on http://localhost:5000
Reverse Proxy nginx
Install nginx: sudo apt install nginx
Edit the Configuration at /etc/nginx/sites-available/default to
server {
listen 80;
server_name your_server.de;
location / {
proxy_pass http://localhost:5000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_redirect off;
}
}
Replace your_server.de to your domain/subdomain
Reload nginx: sudo systemctl reload nginx
You should now see the ReviveTube Page at your domain
Description