Update README.md

This commit is contained in:
TheErrorExe 2025-04-27 11:07:20 +00:00 committed by GitHub
parent 2d856a628c
commit ce85315363
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,6 +8,39 @@ ReviveMii Homepage: https://revivemii.errexe.xyz/
# Self Hosting
## Docker (Recommended):
ReviveTube now supports Docker. Docker Installation:
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
```bash
wget https://cloud.theerrorexe.dev/revivetube-docker.tar
docker load -i revivetube-docker.tar
```
Create docker-compose.yml:
```diff
version: "3.9"
services:
revivetube:
image: theerrorexe/revivetube:latest
ports:
- "5000:5000"
environment:
- GOOGLE_API_TOKEN=YOUR_GOOGLE_TOKEN
volumes:
- .:/app
restart: unless-stopped
```
Replace YOUR_GOOGLE_TOKEN with your google api token
Now run `sudo docker-compose up -d` or `sudo docker compose up -d`
ReviveTube should now run on Port 5000
## Using Python directly
WARNING: before starting the server, remove the --proxy command and the --cookie command in revivetube.py
Go to https://console.cloud.google.com/ and create a new application with the YouTube Data v3 API.