From eed787c7af8ea482100b23e8908633bd1a5e9176 Mon Sep 17 00:00:00 2001 From: Ksan Date: Sun, 30 Aug 2026 19:21:25 +0200 Subject: [PATCH] Revert "update test" This reverts commit afefb65bf26a68fde5c97468a9304acfef5e4a49. Dropping env_file from the bot service left it with only LAVALINK_URI, so BOT_TOKEN and LAVALINK_PASSWORD never reached the container and Main exited 1 on startup, crash-looping under restart: unless-stopped. Compose's automatic .env loading only interpolates ${VAR} within the compose file; it does not inject variables into containers. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_014hv8niNYWL3CXvFw8KVVTT --- docker-compose.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 5640ee3..a66b00a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,6 +9,9 @@ services: restart: unless-stopped depends_on: - lavalink + # BOT_TOKEN, GUILD_ID, LAVALINK_PASSWORD, ... come from .env. + env_file: + - .env environment: - LAVALINK_URI=ws://lavalink:2333 # Catchphrases and the AR-meter user lists are supplied at deploy time,