Revert "update test"
This reverts commit afefb65bf2.
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014hv8niNYWL3CXvFw8KVVTT
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user