Dokploy Bot, reboot
Hello I am hosting a discord bot on github connected to dokploy cuz idk another way, can I have this bot restart once a day? If so how do I set this up?
13 Replies
Please ping me with replys.
There currently is no "native" way for cron jobs, but you can make a cron on your host system and use the API to stop and start your discord bot
https://docs.dokploy.com/docs/api/reference-application#application-stop
https://docs.dokploy.com/docs/api/reference-application#application-start
If its a compose you just need to check the compose part
Okay thanks
Do you know how I can fix these issues
Error: Cannot find module 'dayjs'
I tried to use
npm install dayjs
doesn't workWhere does this occour?
I have fixed the error by just adding them in
Can I run a lava link on Dokploy?
You'll need to pack in a docker image but yes can. There might already be an docker image for it
Can you share how by chance? I am still new to this
idk if that will work, was the first one i found
https://lavalink.dev/configuration/docker
Docker - Lavalink Docs
How to run Lavalink as a Docker container
opera_ujq3hMnyXc.png (23.93 KB)
Date: 2025-01-03 09:20:46
Will that be this one?
I set those up on Github https://cdn.cubecloud.ca/tuBu3/kEcEdema00.png
opera_w5JTwGtgAa.png (19.64 KB)
Date: 2025-01-03 09:22:54
you need to add a compose not an application
Ah okay
It is now working
Now to get it to connect visa domain do I just add my domain?