grok2api (v3.0.7-hachimis.1)
Published 2026-07-22 13:37:54 +02:00 by iteng007
Installation
docker pull git.hachimis.com/hachimis/grok2api:v3.0.7-hachimis.1sha256:29f86f8ef8e0ca2b0e2571849af52d9dc8b07f2edb67ce7700feee532d627681About this package
Maintained grok2api fork with resilient multi-account failover
Image Layers
| ADD alpine-minirootfs-3.23.5-aarch64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ENV TZ=Asia/Shanghai GROK2API_CONFIG_SOURCE=/run/grok2api/config.yaml |
| RUN /bin/sh -c apk add --no-cache ca-certificates su-exec tzdata && addgroup -S -g 10001 grok2api && adduser -S -D -H -u 10001 -G grok2api grok2api && mkdir -p /app/data /run/grok2api && chown -R grok2api:grok2api /app/data /run/grok2api # buildkit |
| WORKDIR /app |
| COPY --chmod=0755 /out/grok2api /app/grok2api # buildkit |
| COPY /src/frontend/dist /app/frontend/dist # buildkit |
| COPY VERSION /app/VERSION # buildkit |
| COPY --chmod=0755 docker/entrypoint.sh /usr/local/bin/grok2api-entrypoint # buildkit |
| EXPOSE [8000/tcp] |
| HEALTHCHECK {Test:[CMD-SHELL wget -qO- http://127.0.0.1:8000/healthz >/dev/null || exit 1] Interval:30s Timeout:5s StartPeriod:15s StartInterval:0s Retries:3} |
| ENTRYPOINT ["/usr/local/bin/grok2api-entrypoint"] |
| CMD ["/app/grok2api" "--config" "/app/config.yaml" "--listen" "0.0.0.0:8000"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.created | 2026-07-22T11:37:49.086Z |
| org.opencontainers.image.description | Maintained grok2api fork with resilient multi-account failover |
| org.opencontainers.image.licenses | |
| org.opencontainers.image.revision | 4ee1183e1f3b17eefe01653a15f0cdbe1152c5f9 |
| org.opencontainers.image.source | https://git.hachimis.com/hachimis/grok2api |
| org.opencontainers.image.title | grok2api |
| org.opencontainers.image.url | https://git.hachimis.com/hachimis/grok2api |
| org.opencontainers.image.version | v3.0.7-hachimis.1 |
Details
Versions (6)
View all
buildcache
2026-07-22
v3.0.7-hachimis.1
2026-07-22
latest
2026-07-22
sha-4ee1183
2026-07-22
v3.0.6-hachimis.1
2026-07-21