web-service-count-axum 1.5.1

Web service that displays the hit count by using Axum, Tokio, Rust. The purpose of this is simple testing of our systems.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM alpine
RUN apk --update add openssl
COPY  target/x86_64-unknown-linux-musl/release/web-service-count-axum /opt/web-service-count-axum
WORKDIR /opt
CMD ["/opt/web-service-count-axum"]
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
  CMD curl -f http://localhost:8080/ || exit 1
LABEL org.opencontainers.image.authors="Joel Parker Henderson <joel@joelparkerhenderson.com>"
LABEL org.opencontainers.image.description="Web service count axum example"
LABEL org.opencontainers.image.documentation="https://github.com/joelparkrhenderson/web-service-count-axum"
LABEL org.opencontainers.image.licenses="MIT"
LABEL org.opencontainers.image.source="https://github.com/joelparkrhenderson/web-service-count-axum"
LABEL org.opencontainers.image.title="web-service-count-axum"
LABEL org.opencontainers.image.url="https://github.com/joelparkrhenderson/web-service-count-axum"
LABEL org.opencontainers.image.version="1.4.0"