alexandreteles / jmusicbot-docker

Docker image for JMusicBot
Do What The F*ck You Want To Public License
17 stars 2 forks source link

config file doesnt load in #1

Closed RisenID closed 2 years ago

RisenID commented 2 years ago

Screenshot 2022-01-23 150922

Commands tried and error. Path is correct and config and server settinsg file are in that folder. Same issue faced even if command prompt is used.

alexandreteles commented 2 years ago

Dammit. The documentation points to the wrong image, that's why you're having problems running it. The image should be alexandreteles/jmusicbot instead of jagrosh/jmusicbot as jagrosh himself doesn't provide a docker image even if we insist on having an official one. Anyway, your problem should be solved if you run:

docker run --name jmusicbot -d -v /home/rawr/.docker/desktop/config.txt:/app/config.txt:ro -v /home/rawr/.docker/desktop/serversettings.json:/app/serversettings.json:ro --restart=always alexandreteles/jmusicbot

I'm closing this issue just so I can keep track of what I'm doing but feel free to reopen it if needed.