mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(stats): rewrite scheduled tasks runner, use timescaledb instead of influxdb
This commit is contained in:
parent
0c3eeae420
commit
4bf4197c2a
14 changed files with 486 additions and 1693 deletions
14
Dockerfile.scheduled_tasks
Normal file
14
Dockerfile.scheduled_tasks
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
FROM alpine:latest AS builder
|
||||
|
||||
RUN apk add go
|
||||
|
||||
WORKDIR /build
|
||||
COPY scheduled_tasks/ /build
|
||||
|
||||
RUN go build .
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
COPY --from=builder /build/scheduled_tasks /bin/runner
|
||||
|
||||
ENTRYPOINT ["/bin/runner"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue