feat(stats): rewrite scheduled tasks runner, use timescaledb instead of influxdb

This commit is contained in:
spiral
2022-06-26 14:19:46 -04:00
parent 0c3eeae420
commit 4bf4197c2a
14 changed files with 486 additions and 1693 deletions

View 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"]