dockerize
This commit is contained in:
37
README.md
37
README.md
@ -12,6 +12,8 @@ This Discord bot integrates with Jellyseerr to provide commands for searching, r
|
||||
|
||||
## Installation
|
||||
|
||||
### Standard Installation
|
||||
|
||||
1. Clone this repository:
|
||||
```
|
||||
git clone https://github.com/yourusername/discord-jellyseerr.git
|
||||
@ -46,11 +48,33 @@ This Discord bot integrates with Jellyseerr to provide commands for searching, r
|
||||
./run.sh
|
||||
```
|
||||
|
||||
### Docker Installation
|
||||
|
||||
1. Clone this repository:
|
||||
```
|
||||
git clone https://github.com/yourusername/discord-jellyseerr.git
|
||||
cd discord-jellyseerr
|
||||
```
|
||||
|
||||
2. Copy the `.env.example` file to `.env` and edit it with your configuration:
|
||||
```
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
3. Edit the `.env` file with your Discord bot token and Jellyseerr API details as shown above.
|
||||
|
||||
4. Build and run using Docker Compose:
|
||||
```
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
For more detailed Docker deployment instructions, see [DOCKER.md](DOCKER.md).
|
||||
|
||||
## Setting up the Discord Bot
|
||||
|
||||
1. Go to the [Discord Developer Portal](https://discord.com/developers/applications)
|
||||
2. Create a new application and set up a bot
|
||||
4. Enable the following Privileged Gateway Intents:
|
||||
3. Enable the following Privileged Gateway Intents:
|
||||
- MESSAGE CONTENT INTENT
|
||||
4. Invite the bot to your server with the following permissions:
|
||||
- Send Messages
|
||||
@ -101,6 +125,17 @@ This bot does not handle notifications, as the native webhook integration provid
|
||||
|
||||
Contributions are welcome! Please feel free to submit a Pull Request.
|
||||
|
||||
## Deployment Options
|
||||
|
||||
### Standard Deployment
|
||||
Run the bot directly on your system with Python. This is simple for testing but requires you to manage dependencies and keep the process running.
|
||||
|
||||
### Docker Deployment
|
||||
Deploy the bot as a Docker container for better isolation and easier management. The Docker setup includes:
|
||||
- Containerized environment with all dependencies
|
||||
- Volume mounting for persistent logs
|
||||
- Automatic restarts if the bot crashes
|
||||
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License - see the LICENSE file for details.
|
Reference in New Issue
Block a user