Update README docker-compose sample
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 1m9s
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 1m9s
This commit is contained in:
22
README.md
22
README.md
@@ -112,12 +112,22 @@ The system uses aiohttp for asynchronous HTTP requests and discord.py for Discor
|
||||
5. For Docker Compose, create a `docker-compose.yml` file:
|
||||
```yaml
|
||||
services:
|
||||
pterodactyl-bot:
|
||||
build: .
|
||||
container_name: pterodactyl-bot
|
||||
volumes:
|
||||
- ./bot-config:/app
|
||||
restart: unless-stopped
|
||||
pterodisbot:
|
||||
build: .
|
||||
environment:
|
||||
- DISCORD_TOKEN={Your Discord bot token}
|
||||
- ALLOWED_GUILD_ID={The Discord server ID where the bot should operate}
|
||||
- PANEL_URL={Your Pterodactyl panel URL (must include http:// or https://)}
|
||||
- CLIENT_API_KEY={Pterodactyl client API key (starts with `ptlc_`)}
|
||||
- APPLICATION_API_KEY={Pterodactyl application API key (starts with `ptla_`)}
|
||||
volumes:
|
||||
- bot_logs:/app/logs
|
||||
- bot_embed:/app/embed
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
bot_logs:
|
||||
bot_embed:
|
||||
```
|
||||
Then run:
|
||||
```bash
|
||||
|
Reference in New Issue
Block a user