• Joined on 2026-07-23

kami-gateway-production (4)

Published 2026-08-02 11:54:56 +00:00 by danial

Installation

docker pull registry.demonstration.top/danial/kami-gateway-production:4
sha256:2b099ec629f0b27ac6123b57596c582f76f189b672a200d844e337bde4c34bb6

Images

Digest OS / Arch Size
5e46060ed3 linux/amd64 24 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.24.1-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ENV TZ=Asia/Shanghai
RUN /bin/sh -c echo "https://mirrors.aliyun.com/alpine/v3.24/main/" > /etc/apk/repositories && echo "https://mirrors.aliyun.com/alpine/v3.24/community/" >> /etc/apk/repositories # buildkit
RUN /bin/sh -c apk update && apk upgrade && apk add --no-cache tzdata curl wget ca-certificates git gzip tar bash apk-tools && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone && rm -rf /var/cache/apk/* # buildkit
RUN /bin/sh -c curl -fsSL -o /usr/local/share/ca-certificates/aaa-certificate-services.crt https://www.tbs-x509.com/Comodo_AAA_Certificate_Services.crt && update-ca-certificates # buildkit
RUN /bin/sh -c addgroup -g 1001 -S appuser && adduser -u 1001 -S appuser -G appuser -h /app -s /bin/sh # buildkit
RUN /bin/sh -c mkdir -p /app && chown -R appuser:appuser /app # buildkit
USER appuser
WORKDIR /app
LABEL maintainer=alpine-base-team version=1.1.0 description=Optimized Alpine 3.24 base image with Chinese mirrors, certificates, and common tools
ENV TZ=Asia/Shanghai SERVER_NAME=kami-gateway SERVER_HTTP_PORT=12309 SERVER_RUN_MODE=prod GATEWAY_ADDR=http://localhost:12309 SHOP_ADDR=http://localhost:12311 PORTAL_ADDR=http://localhost:12310 DB_TYPE=mysql DB_USER=kami DB_PASSWORD= DB_HOST=127.0.0.1 DB_PORT=3306 DB_NAME=kami DB_DEBUG=false DB_SSL_MODE=disable DB_TIMEZONE=Asia/Shanghai REDIS_HOST=127.0.0.1 REDIS_PORT=6379 REDIS_PASSWORD= REDIS_DB=0 GATEWAY_PAYFOR_FEE=2.0 GATEWAY_PAYFOR_INTERVAL=5 PROXY_URL= PROXY_SCHEME= PROXY_USERNAME= PROXY_PASSWORD= PROXY_VALIDITY_SECONDS= PROXY_ENABLED= APP_NAME=kami-gateway OTEL_SERVICE_NAME=kami-gateway OTEL_EXPORTER_ENDPOINT=38.38.251.113:31547 OTEL_EXPORTER_INSECURE=true OTEL_ENABLED=true
USER root
RUN /bin/sh -c apk update && apk upgrade && apk add --no-cache tzdata curl ca-certificates && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone && rm -rf /var/cache/apk/* # buildkit
RUN /bin/sh -c curl -fsSL -o /usr/local/share/ca-certificates/aaa-certificate-services.crt https://www.tbs-x509.com/Comodo_AAA_Certificate_Services.crt && update-ca-certificates # buildkit
RUN /bin/sh -c mkdir -p /app && chown appuser:appuser /app # buildkit
WORKDIR /app
RUN /bin/sh -c mkdir -p /app/conf /app/data && chown -R appuser:appuser /app # buildkit
COPY /build/main /app/main # buildkit
COPY /build/data/ /app/data/ # buildkit
USER appuser
EXPOSE map[12309/tcp:{}]
HEALTHCHECK &{["CMD-SHELL" "curl -fsS http://127.0.0.1:12309/healthz || exit 1"] "30s" "5s" "20s" "0s" '\x03'}
CMD ["./main"]

Labels

Key Value
description Optimized Alpine 3.24 base image with Chinese mirrors, certificates, and common tools
maintainer alpine-base-team
version 1.1.0
Details
Container
2026-08-02 11:54:56 +00:00
1
OCI / Docker
Versions (2) View all
4 2026-08-02
latest 2026-08-02