-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-config.yml
More file actions
152 lines (133 loc) · 5.06 KB
/
docker-config.yml
File metadata and controls
152 lines (133 loc) · 5.06 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Logging level: https://docs.rs/env_logger/latest/env_logger/#enabling-logging
log_filter: info,tracing::span=warn,serenity::http::ratelimiting=warn
# Address to bind the server to
server_addr: 0.0.0.0:3000
# Address to bind the prometheus metrics server to
# Prometheus metrics are accessible at /metrics
metrics_server_addr: 0.0.0.0:4000
# Database connection string; currently only postgres is supported
# In the format of postgresql://<username>:<password>@<host>:<port>/<database>
database_url: postgresql://waitingway:waitingway_passwd@db:5432/waitingway
# Redis configuration
redis:
# Supports Valkey, Redis, KeyDB, etc
url: redis://localhost:6379
namespace: wway
# Cache TTL in milliseconds
cache_ttl_ms: 2000
# Number of Discord accounts that can be connected to a single user
max_connections_per_user: 3
# 256-bit key used to sign and encrypt update data. Insecure values will allow an attacker to send fake updates.
# You can set this via the "UPDATES_KEY" environment variable as well (like with any other config value)
updates_key: 7756BF80511B89041CA7DAB8335D1C6B8515F2A93167828EAD6351219C420869
# TemporalStasis configuration
stasis:
# Must be writable by the server process
version_file: stasis_version.json
# Blowfish phrase is from 48 89 5C 24 ?? 57 48 83 EC 20 0F 57 C0 48 8B FA
blowfish_phrase: 8f5c725967ded4972fcd50ab397fff1b
# Version is after the 0x12345678 magic
# from E8 ?? ?? ?? ?? 48 8B F8 48 8B CF 48 89 7B 10 E8 ?? ?? ?? ?? 48 8D 8B
blowfish_version: 7201
# Login version is somewhere
# in 48 89 5C 24 ?? 55 56 57 41 56 41 57 48 8D 6C 24 ?? 48 81 EC ?? ?? ?? ?? 48 8B 05 ?? ?? ?? ?? 48 33 C4 48 89 45 27 48 8B 41 08
# or after a call to E8 ?? ?? ?? ?? 48 8B 6C 24 ?? 89 86 (xref #2)
login_version: 7201
# List of lobby hosts to support
# https://exd.camora.dev/sheet/WorldDCGroupType
# Use the Neolobbyid column as the number in neolobbyXX.ffxiv.com
lobby_hosts:
- neolobby01.ffxiv.com # Elemental
- neolobby03.ffxiv.com # Gaia
- neolobby05.ffxiv.com # Mana
- neolobby02.ffxiv.com # Aether
- neolobby04.ffxiv.com # Primal
- neolobby06.ffxiv.com # Chaos
- neolobby07.ffxiv.com # Light
- neolobby08.ffxiv.com # Crystal
- neolobby09.ffxiv.com # Materia
- neolobby10.ffxiv.com # Meteor
- neolobby11.ffxiv.com # Dynamis
# - neolobby12.ffxiv.com # Shadow
# Cache for UIDs (used in login process and passed to the game server)
uid_cache:
path: uid.json
ttl: 86400 # 24 hours
# Cache for data center tokens (used to get data center travel status)
dc_token_cache:
path: dc_token.json
ttl: 43200 # 12 hours
# SQEX login credentials for the user that will log into FFXIV
# Make sure this user has an account on every lobby host listed above
# This user doesn't need an active subscription. You can just make a free trial account.
# You should prefer using STASIS.USERNAME and STASIS.PASSWORD environment variables
username: stasis_user
password: stasis_passwd
discord:
# Discord OAuth2 configuration
# Make sure your redirect URI maps to the right public user-facing URL of your server
redirect_uri: https://waiting.example.com/api/v1/oauth/callback
client_id: 123456789012345678
client_secret: client_secret
# Custom emotes for use in bot messages
emotes:
green_check: "<:green_check:1327530017315487850>"
red_cross: "<:red_cross:1327522180308664340>"
duty_player: "<:player:1339553024493748274>"
duty_tank: "<:tank:1339553037462540298>"
duty_healer: "<:healer:1339553010900271134>"
duty_dps: "<:dps:1339552998724075550>"
# Discord bot token
bot_token: bot_token_here
# The guild to invite all new users to
guild_id: 928743035372712019
# The channel to send basic logs to
log_channel_id: 12345678901234
# Queues sizes below this threshold will be considered insignificant and won't send updates
queue_size_dm_threshold: 50
# Interval in seconds between activity updates
activity_update_interval: 60
# A list of bot activites/statuses to choose from every once in a while
activities:
- type: watching
text: your queue
- type: playing
text: the piano
- type: listening
text: Spotify
- type: playing
text: Dawntrail
- type: playing
text: Endwalker
- type: listening
text: to music
- type: watching
text: the stars
- type: watching
text: the world go round
- type: watching
text: you
- type: playing
text: the critically acclaimed MMORPG Final Fantasy XIV
- type: playing
text: Final Fantasy XIV
- type: competing
text: Week 1 clears
- type: playing
text: roulettes
- type: watching
text: queue stats
- type: listening
text: queue pops
- type: custom
text: Waiting..?
- type: custom
text: If a fantasy is final, why are there sixteen of them?
- type: custom
text: Waiting for the queue to pop
- type: custom
text: Waiting for your queue to end
- type: custom
text: Waiting to notify you
- type: custom
text: Waiting for the heat death of the universe