Files
Botinator/docker-compose.yaml
T
ksan cbefb7b21f
CI/CD / build (push) Successful in 2m17s
CI/CD / deploy (push) Failing after 10s
added ci/cd
2026-07-10 00:13:57 +02:00

32 lines
895 B
YAML

# Runs the bot together with a Lavalink v4 server for music playback.
# docker compose up -d --build # build the bot image locally and start
#
services:
bot:
image: ${BOT_IMAGE:-botinator:latest}
build: .
container_name: botinator
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 are supplied at deploy time
volumes:
- ./catchphrases.txt:/app/catchphrases.txt:ro
lavalink:
image: ghcr.io/lavalink-devs/lavalink:4
container_name: lavalink
restart: unless-stopped
environment:
- _JAVA_OPTIONS=-Xmx1G
volumes:
- ./lavalink/application.yml:/opt/Lavalink/application.yml:ro
- ./lavalink/plugins/:/opt/Lavalink/plugins/
ports:
- "2333:2333"