-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
48 lines (45 loc) · 1.71 KB
/
compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
services:
discordbot:
container_name: discordbot
image: regunakyle/my-discord-bot:latest
environment:
DISCORD_TOKEN: <YOUR_TOKEN_HERE>
# Used by old style prefix commands; this bot only has the <PREFIX>sync prefix command
PREFIX: ">>"
# Maximum file upload size (in MiB), used by command like /pixiv
MAX_FILE_SIZE: 25
# Lavalink parameters, used by the Music module
# The Music module will be disabled if LAVALINK_URL is empty
LAVALINK_URL: http://lavalink:2333
LAVALINK_PASSWORD: youshallnotpass
# AI related parameters
# The AI module will be disabled if OPENAI_API_KEY or OPENAI_MODEL_NAME is empty
# You can use a random string for OPENAI_API_KEY if you are using text-generation-webui
OPENAI_API_KEY:
OPENAI_MODEL_NAME: gpt-3.5-turbo
# If OPENAI_BASE_URL is empty, use OpenAI API endpoint instead
OPENAI_BASE_URL: http://localhost:5000/v1
volumes:
- dbot-vol:/app/volume
restart: unless-stopped
lavalink:
container_name: lavalink
image: ghcr.io/lavalink-devs/lavalink:latest
environment:
SERVER_PORT: 2333
LAVALINK_SERVER_PASSWORD: youshallnotpass
LAVALINK_SERVER_SOURCES_YOUTUBE: false
# See https://github.com/lavalink-devs/youtube-source for the latest version of the plugin
LAVALINK_PLUGINS_0_DEPENDENCY: dev.lavalink.youtube:youtube-plugin:1.3.0
PLUGINS_YOUTUBE_ENABLED: true
PLUGINS_YOUTUBE_CLIENTS_0: MUSIC
PLUGINS_YOUTUBE_CLIENTS_1: ANDROID
PLUGINS_YOUTUBE_CLIENTS_2: WEB
PLUGINS_YOUTUBE_CLIENTS_3: TVHTML5EMBEDDED
restart: unless-stopped
volumes:
dbot-vol:
name: discord-bot-vol
networks:
default:
name: discord-bot-network