diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..e0bfba7d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM node:18.20.2 + +WORKDIR /usr/src/app +COPY package.json . +RUN yarn install +COPY . . + +CMD ["node","main.js"] diff --git a/config.js b/config.js index 490a0430..aee2020e 100644 --- a/config.js +++ b/config.js @@ -1,7 +1,7 @@ module.exports = { app: { token: process.env.DISCORD_TOKEN || 'xxx', - playing: 'by the Community ❤️', + playing: 'catch the humans', global: true, guild: process.env.GUILD_ID || 'xxx', extraMessages: false, @@ -29,7 +29,7 @@ module.exports = { Translate_Timeout: 10000, maxVol: 100, spotifyBridge: true, - volume: 75, + volume: 7, leaveOnEmpty: true, leaveOnEmptyCooldown: 30000, leaveOnEnd: true, diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..58adac66 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,4 @@ +services: + music-bot: + build: . + restart: always