-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-example.yml
46 lines (46 loc) · 1.6 KB
/
docker-compose-example.yml
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
version: '3'
services:
altaria:
build: .
restart: unless-stopped
environment:
# Discord bot token
BOT_TOKEN: "..."
# Default logging level
LOG_LEVEL: "INFO"
# ID of the guild where the bot is going to be run
GUILD_ID: "..."
# Channel where full errors should be posted
ERROR_CHANNEL_ID: "..."
# Database connection data
DB_HOST: db
DB_PORT: 3306
DB_USER: "root"
DB_PASSWORD: "altaria"
DB_DATABASE: "altaria"
# True to enable SpriteBot !gr command integrations
SPRITEBOT_GP_COMMANDS: "true"
# ID of the message and channel containing the server rules, as an embed with one section per rule.
# Omit to disable the /rules command.
RULES_MESSAGE_ID: "..."
RULES_CHANNEL_ID: "..."
# True to punish members striked by Vortex when they reach a certain amount of strikes
ENABLE_STRIKE_PUNISHMENTS: "false"
# Channel where Vortex's strike messages are posted. Can be omitted if ENABLE_STRIKE_PUNISHMENTS is false.
STRIKE_LOG_CHANNEL_ID: "..."
# Channel where Altaria will run >>silentban to temporarily ban a user through Vortex.
# Can be omitted if ENABLE_STRIKE_PUNISHMENTS is false.
BAN_CMD_CHANNEL_ID: "..."
# Channel where GP is awarded for contributions.
SUPPORT_CHANNEL_ID: "..."
depends_on:
- db
db:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: "altaria"
MYSQL_DATABASE: "altaria"
volumes:
- "./db_data:/var/lib/mysql"