mirror of
https://github.com/System-End/Discord-Bot.git
synced 2026-04-19 15:18:21 +00:00
ok
This commit is contained in:
parent
57fa259c01
commit
307522a8bb
3 changed files with 31 additions and 19 deletions
19
.env.example
19
.env.example
|
|
@ -1,19 +0,0 @@
|
|||
DISCORD_TOKEN=
|
||||
MONGO_TOKEN=
|
||||
GIPHY_TOKEN=
|
||||
WEBHOOK_ID=
|
||||
WEBHOOK_TOKEN=
|
||||
DISCORD_ID=
|
||||
|
||||
# Not neccessary variables
|
||||
# Wondering how to get these? Check out https://github.com/CorwinDev/Discord-Bot#requirements
|
||||
DISCORD_STATUS="Listening to meself, I'm a stupid bot, https://github.com/corwindev/discord-bot"
|
||||
RADIO=
|
||||
TOPGG_TOKEN=
|
||||
SPOTIFY_CLIENT_ID=
|
||||
SPOTIFY_CLIENT_SECRET=
|
||||
LAVALINK_HOST=lava.link
|
||||
LAVALINK_PASSWORD=I'm a secret
|
||||
LAVALINK_PORT=80
|
||||
LAVALINK_SECURE=false
|
||||
OPENAI=
|
||||
30
docker-compose.yml
Normal file
30
docker-compose.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
services:
|
||||
lavalink:
|
||||
# pin the image version to Lavalink v4
|
||||
image: ghcr.io/lavalink-devs/lavalink:4
|
||||
container_name: lavalink
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# set Java options here
|
||||
- _JAVA_OPTIONS=-Xmx6G
|
||||
# set lavalink server port
|
||||
- SERVER_PORT=2333
|
||||
# set password for lavalink
|
||||
- LAVALINK_SERVER_PASSWORD=youshallnotpass
|
||||
volumes:
|
||||
# mount application.yml from the same directory or use environment variables
|
||||
- ./application.yml:/opt/Lavalink/application.yml
|
||||
# persist plugins between restarts, make sure to set the correct permissions (user: 322, group: 322)
|
||||
- ./plugins/:/opt/Lavalink/plugins/
|
||||
networks:
|
||||
- lavalink
|
||||
expose:
|
||||
# lavalink exposes port 2333 to connect to for other containers (this is for documentation purposes only)
|
||||
- 2333
|
||||
ports:
|
||||
# you only need this if you want to make your lavalink accessible from outside of containers
|
||||
- "2333:2333"
|
||||
networks:
|
||||
# create a lavalink network you can add other containers to, to give them access to Lavalink
|
||||
lavalink:
|
||||
name: lavalink
|
||||
|
|
@ -61,6 +61,7 @@
|
|||
"moment": "^2.29.4",
|
||||
"moment-duration-format": "^2.3.2",
|
||||
"moment-timezone": "^0.5.39",
|
||||
"mongodb": "^6.5.0",
|
||||
"mongoose": "^6.8.0",
|
||||
"ms": "^2.1.3",
|
||||
"node-fetch": "^2.6.6",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue