This guide will help you set up JMusicBot using Docker. Follow the instructions below to get started.
- Docker installed on your system
- Docker Compose installed on your system
-
Create a directory for JMusicBot:
mkdir -p path/to/Jmusicbot cd path/to/Jmusicbot -
Create a
docker-compose.ymlfile with the following content:version: '3.8' services: jmusicbot: image: git.serv.eserver.icu/ewbc/jmusicbot-docker:latest container_name: jmusicbot volumes: - ./config.txt:/opt/jmusicbot/config.txt restart: unless-stopped
-
Create a
config.txtfile in the same directory with your JMusicBot configuration. You can find theconfig.txthere JmusicBot Example Configuration -
Start the JMusicBot container:
docker-compose up -d
-
Verify that the container is running:
docker ps
To stop the JMusicBot container, run:
docker-compose down- The
config.txtfile should contain your JMusicBot configuration. - The container will automatically restart unless stopped manually.
For more information, visit the JMusicBot GitHub repository.