MusicBot icon indicating copy to clipboard operation
MusicBot copied to clipboard

Docker container

Open held-m opened this issue 4 years ago • 3 comments
trafficstars

This pull request...

Very easy way start the music bot on a Linux server.

Description

Docker container.

Purpose

No need install java or another libraries. Start with system.

held-m avatar Aug 04 '21 21:08 held-m

Came here to make this. Thanks, will use your dockerfile

alshdavid avatar Oct 16 '21 06:10 alshdavid

Might be better to set up a github action and publish the image to dockerhub. No point in using docker-compose, including the binary in the repository or externalising the config.

docker run -e TOKEN="" -e OWNER="" jmusicbot:lastet

alternatively the config can be passed in entirely through the environment

docker run -e CONFIG="$(cat config.txt)" jmusicbot:lastet

alshdavid avatar Oct 16 '21 06:10 alshdavid

Try my docker wrapper

https://github.com/alshdavid/j-music-bot

alshdavid avatar Dec 17 '21 00:12 alshdavid