-
Notifications
You must be signed in to change notification settings - Fork 31
/
fly.toml
76 lines (57 loc) · 1.88 KB
/
fly.toml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
app = "rustbot"
kill_signal = "SIGINT"
kill_timeout = 5
processes = []
[env]
# Enables logging for the bot
RUST_LOG = "rustbot=info"
# ID of your Discord bot application
APPLICATION_ID = "275357149477994498"
# ID of the Moderator role. Potentially used someday for `?cleanup` command
MOD_ROLE_ID = "631915156854538260"
# ID of the Rustacean role. Used for `?rustify` command
RUSTACEAN_ROLE_ID = "319953207193501696"
# ID of the showcase channel
SHOWCASE_CHANNEL_ID = "884562689928605766"
# ID of the channel where reports are sent to. Used for `/report` command. Leave empty to disable
# `/report` command
REPORTS_CHANNEL_ID = "935643214818443265"
# ID of the channel where beginner questions are asked. Used for ``/ub` command.
BEGINNER_CHANNEL_ID = "273541522815713281"
# If running the bot for the first time, set to `true`
# otherwise, sqlx will error at compile-time if the database hasn't been set-up yet.
SQLX_OFFLINE = "true"
# File name of the database
DATABASE_URL = "sqlite:database/database.sqlite"
# Whether to enable experimental user-specific custom prefixes
# Experimental because I haven't yet tested the performance impact of issuing an SQLite query on
# every message
CUSTOM_PREFIXES = "true"
# The duration to wait before refreshing the godbolt targets list
GODBOLT_UPDATE_DURATION = "1"
[experimental]
allowed_public_ports = []
auto_rollback = true
[[services]]
http_checks = []
tcp_checks = []
script_checks = []
internal_port = 8080
processes = ["app"]
protocol = "tcp"
[services.concurrency]
hard_limit = 25
soft_limit = 20
type = "connections"
[[services.ports]]
force_https = true
handlers = ["http"]
port = 80
[[services.ports]]
handlers = ["tls", "http"]
port = 443
[mounts]
source="rustbot_data"
destination="/usr/src/app/database"
[deploy]
strategy = "immediate"