14 Commits

Author SHA1 Message Date
56a76b0fbb Bump node versiom to 20
node:20-alpine
2023-08-07 17:34:19 +02:00
e50449ec03 Cleanup legacy rendering code and files
also removes dockerfile and imagemagick.
2023-08-07 17:34:19 +02:00
f1e01f2a9f API: Add experimental Json API
in preparation for external healthchecks and the
admin backend. We define a couple test routes:

- / List all routes
- /ping Replies pong for online-checks
- /stats Get high-level bot statistics
- /most-recent-drop Returns the most recent entry from dropHistories

The last two routes require a valid apikey header.
All routes are prefixed by /api/v1
2023-04-05 12:00:46 +02:00
d0535e06ad Docker: Restart mysql container unless stopped 2023-01-02 19:26:25 +01:00
cf159c43bc Docker: Make DB port changeable via .env 2022-09-26 16:21:43 +02:00
e72b098dab Docker: Always run migrations on compose up 2022-09-26 16:18:42 +02:00
ef19697346 Docker: Add imagemagick dependency 2022-09-11 22:31:25 +02:00
fd209fbbda Docker: Fix sharp not installing due to npm cache permissions
Moving the npm cache folder into the /app folder solved the permission issues
Fixes #8
2022-09-08 13:29:59 +02:00
dea943bee4 Drop: Add drop history 2022-08-28 22:19:03 +02:00
4d383af59d Bind mount hosts fonts folder 2022-08-25 23:18:39 +02:00
6a7e3f6647 Change DB location to bind mount 2022-08-19 15:14:49 +02:00
e21fc57f22 Add drop and pull cooldowns 2022-08-19 14:41:48 +02:00
88393e2d82 Add missing MYSQL env vars 2022-08-18 10:00:12 +02:00
6eccae8721 Core bot components 2022-04-17 14:04:51 +02:00