Update docker-compose sample
All checks were successful
Docker Build and Push / build-and-push (push) Successful in 1m6s

This commit is contained in:
2025-08-13 03:08:34 -07:00
parent 8404eb990d
commit 1bdf20b6b1

View File

@@ -112,22 +112,24 @@ The system uses aiohttp for asynchronous HTTP requests and discord.py for Discor
5. For Docker Compose, create a `docker-compose.yml` file: 5. For Docker Compose, create a `docker-compose.yml` file:
```yaml ```yaml
services: services:
pterodisbot: pterodisbot:
build: . build: .
environment: environment:
- DISCORD_TOKEN={Your Discord bot token} # Remmove brackets and spaces in environment variables
- ALLOWED_GUILD_ID={The Discord server ID where the bot should operate} # Ideally, use .env file to assign values to these instead
- PANEL_URL={Your Pterodactyl panel URL (must include http:// or https://)} - DISCORD_TOKEN={Your Discord bot token}
- CLIENT_API_KEY={Pterodactyl client API key (starts with `ptlc_`)} - ALLOWED_GUILD_ID={The Discord server ID where the bot should operate}
- APPLICATION_API_KEY={Pterodactyl application API key (starts with `ptla_`)} - PANEL_URL={Your Pterodactyl panel URL (must include http:// or https://)}
volumes: - CLIENT_API_KEY={Pterodactyl client API key (starts with `ptlc_`)}
- bot_logs:/app/logs - APPLICATION_API_KEY={Pterodactyl application API key (starts with `ptla_`)}
- bot_embed:/app/embed volumes:
restart: unless-stopped - bot_logs:/app/logs
- bot_embed:/app/embed
restart: unless-stopped
volumes: volumes:
bot_logs: bot_logs:
bot_embed: bot_embed:
``` ```
Then run: Then run:
```bash ```bash