log-server (sha256:179fe83949bef7f5f3b9173c2a87e4cd8c8aad5c0fd1ca4e430726037b6631f5)
Published 2025-10-26 13:53:54 +01:00 by office
Installation
docker pull git.needful-apps.de/needful-apps/log-server@sha256:179fe83949bef7f5f3b9173c2a87e4cd8c8aad5c0fd1ca4e430726037b6631f5sha256:179fe83949bef7f5f3b9173c2a87e4cd8c8aad5c0fd1ca4e430726037b6631f5About this package
Multi-database TCP log server with Grafana Loki integration
Image layers
| ADD alpine-minirootfs-3.22.2-aarch64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| LABEL org.opencontainers.image.title=Log Server |
| LABEL org.opencontainers.image.description=Multi-database TCP log server with Grafana Loki integration |
| LABEL org.opencontainers.image.vendor=Needful Apps |
| RUN /bin/sh -c apk add --no-cache ca-certificates tzdata wget # buildkit |
| RUN /bin/sh -c addgroup -g 1000 logserver && adduser -D -u 1000 -G logserver logserver # buildkit |
| WORKDIR /app |
| COPY /app/log-server /app/ # buildkit |
| COPY /build/static /app/static # buildkit |
| COPY config.toml.example /app/config.toml # buildkit |
| RUN /bin/sh -c sed -i 's|connection_string = "sqlite://logs.db"|connection_string = "/app/data/logs.db"|g' /app/config.toml && sed -i 's|db_path = "./auth.db"|db_path = "/app/data/auth.db"|g' /app/config.toml # buildkit |
| RUN /bin/sh -c mkdir -p /app/data && touch /app/data/logs.db /app/data/auth.db # buildkit |
| RUN /bin/sh -c chown -R logserver:logserver /app # buildkit |
| USER logserver |
| EXPOSE [8080/tcp 9090/tcp] |
| HEALTHCHECK &{["CMD-SHELL" "wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1"] "30s" "10s" "5s" "0s" '\x03'} |
| CMD ["./log-server"] |
Labels
| Key | Value |
|---|---|
| org.opencontainers.image.description | Multi-database TCP log server with Grafana Loki integration |
| org.opencontainers.image.title | Log Server |
| org.opencontainers.image.vendor | Needful Apps |
Details
2025-10-26 13:53:54 +01:00
Versions (10)
View all
Container
8
OCI / Docker
linux/arm64
29 MiB
aeb1d55
2025-10-26
latest
2025-10-26
main
2025-10-26
latest-arm64
2025-10-26
aeb1d55-arm64
2025-10-26