mirror of
https://github.com/lukaszraczylo/graphql-monitoring-proxy.git
synced 2026-10-24 06:48:09 +00:00
fixup! fixup! fixup! fixup! fixup! fixup! fixup! Update dependencies.
This commit is contained in:
+1
-3
@@ -3,8 +3,6 @@ WORKDIR /go/src/app
|
|||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
ARG TARGETOS
|
ARG TARGETOS
|
||||||
# silly workaround for distroless image as no chmod is available
|
# silly workaround for distroless image as no chmod is available
|
||||||
COPY --chmod=777 --chown=65532:65532 static/app /app
|
COPY --chmod=777 --chown=nonroot:nonroot static/app /go/src/app
|
||||||
ADD static/default-ratelimit.json /app/ratelimit.json
|
|
||||||
ADD static/default-banned_users.json /app/banned_users.json
|
|
||||||
ADD dist/bot-$TARGETOS-$TARGETARCH /go/src/app/graphql-proxy
|
ADD dist/bot-$TARGETOS-$TARGETARCH /go/src/app/graphql-proxy
|
||||||
ENTRYPOINT ["/go/src/app/graphql-proxy"]
|
ENTRYPOINT ["/go/src/app/graphql-proxy"]
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
{}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"ratelimit": {
|
|
||||||
"admin": {
|
|
||||||
"req": 100,
|
|
||||||
"interval": "second"
|
|
||||||
},
|
|
||||||
"guest": {
|
|
||||||
"req": 3,
|
|
||||||
"interval": "second"
|
|
||||||
},
|
|
||||||
"-": {
|
|
||||||
"req": 100,
|
|
||||||
"interval": "hour"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user