From 1bdf20b6b1e4041ea591d1c9866ea67537ddcdf5 Mon Sep 17 00:00:00 2001 From: "k.eaven" Date: Wed, 13 Aug 2025 03:08:34 -0700 Subject: [PATCH] Update docker-compose sample --- README.md | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index b62fe36..ed7ffc7 100644 --- a/README.md +++ b/README.md @@ -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: ```yaml services: - pterodisbot: - build: . + 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 + # Remmove brackets and spaces in environment variables + # Ideally, use .env file to assign values to these instead + - 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: + bot_logs: + bot_embed: ``` Then run: ```bash