added ci/cd
CI/CD / build (push) Successful in 2m17s
CI/CD / deploy (push) Failing after 10s

This commit is contained in:
2026-07-10 00:13:57 +02:00
parent 7f17a604e5
commit cbefb7b21f
4 changed files with 111 additions and 5 deletions
+18 -5
View File
@@ -1,10 +1,23 @@
# Runs a Lavalink v4 server for the bot to connect to.
# docker compose up -d # start in background
# docker compose logs -f # watch logs
# docker compose down # stop
# Runs the bot together with a Lavalink v4 server for music playback.
# docker compose up -d --build # build the bot image locally and start
#
# The bot connects to ws://localhost:2333 with the password below (see .env).
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