- docker-compose up --build -d.
## Deployment Own VPS
### Installation
- Install required modules.
```sh
apt install -y git python3 ffmpeg
- Clone this git repository.
git clone https://github.com/ivanarya007/gdrive-bot.git
- Install requirements with pip3
pip3 install -r requirements.txt
Add Environment Variables Values .env Directory gdrive-bot Folder
- BOT_TOKEN - Get it by contacting to BotFather
- APP_ID - Get it by creating app on my.telegram.org
- API_HASH - Get it by creating app on my.telegram.org
- SUDO_USERS - List of Telegram User ID of sudo users, seperated by space.
- SUPPORT_CHAT_LINK - Telegram invite link of support chat.
- DATABASE_URL - Postgres database url.
- DOWNLOAD_DIRECTORY - Custom path for downloads. Must end with a forward
/
slash. (Default to ./downloads/
)
- G_DRIVE_CLIENT_ID - G_DRIVE_CLIENT_ID
- G_DRIVE_CLIENT_SECRET - G_DRIVE_CLIENT_SECRET