galnir / Master-Bot

A Discord music bot and dashboard with slash commands, playlist support, Spotify, music quiz, saved playlists, lyrics, gifs and more
MIT License
464 stars 373 forks source link

Docker Deployment #808

Open MichaelDA123 opened 10 months ago

MichaelDA123 commented 10 months ago

Hello, I've problem when i want to switching the bot to run in Docker, when use command "docker compose --env-file docker.env up -d --build". the container is running but after 30 mins, nothing happend with the bot, and the bot it's just offline in my server. maybe you can help me with this problem to fix this.

Bacon-Fixation commented 8 months ago

Howdy @MichaelDA123, my apologize for the absence, life is moving at the speed of life <3

i am curious if you are still having this issue with the docker deployment? if you are, i have a couple of question in hopes to try narrow it down

are you running this locally or a web service?

what version of docker compose is being used? (should be compatible with v2.xx)

on the machine that is running the container in the directory ./Master-Bot/logs/ is there an error listed in the log file?

is the pc hibernating or going to sleep after 30 min of inactivity?

Much Love -Bacon

MichaelDA123 commented 8 months ago

Hi Bacon!! thanks for replying <3. For the docker im using it in WSL on my PC windows, and haven't turn off or hibernated my pc. when i test the bot and running the container, the docker images and the container is running but the isn't online, i've trying couple time to find this issue but still fixed yet.