11ARG BASE_VERSION=15
2- ARG OPENSPEEDTEST_VERSION=2.0
32FROM ghcr.io/daemonless/nginx-base:${BASE_VERSION}
43
54ARG FREEBSD_ARCH=amd64
6- ARG OPENSPEEDTEST_VERSION
5+ ARG OPENSPEEDTEST_VERSION=2.0
76ARG PACKAGES="ca_root_nss"
87ARG UPSTREAM_URL="https://api.github.com/repos/openspeedtest/Docker-Image/releases/latest"
98ARG UPSTREAM_JQ=".tag_name"
10- ARG HEALTHCHECK_ENDPOINT="http://localhost:3000 /daemonless-ping"
9+ ARG HEALTHCHECK_ENDPOINT="http://localhost:3005 /daemonless-ping"
1110
1211ENV HEALTHCHECK_URL="${HEALTHCHECK_ENDPOINT}"
1312
13+ # --- Metadata (Injected by Generator) ---
1414LABEL org.opencontainers.image.title="OpenSpeedTest" \
15- org.opencontainers.image.description="HTML5 Network Speed Test on FreeBSD" \
16- org.opencontainers.image.source="https://github.com/daemonless/openspeedtest" \
17- org.opencontainers.image.url="https://openspeedtest.com/" \
18- org.opencontainers.image.documentation="https://github.com/openspeedtest/Speed-Test" \
19- org.opencontainers.image.version="${OPENSPEEDTEST_VERSION}" \
20- org.opencontainers.image.licenses="MIT" \
21- org.opencontainers.image.vendor="daemonless" \
22- org.opencontainers.image.authors="daemonless" \
23- io.daemonless.port= "3000 " \
24- io.daemonless.arch= "${FREEBSD_ARCH} " \
25- io.daemonless.base= "nginx " \
26- io.daemonless.category= "Utilities " \
27- io.daemonless.upstream-url="${UPSTREAM_URL}" \
28- io.daemonless.upstream-jq="${UPSTREAM_JQ}" \
29- io.daemonless.healthcheck-url="${HEALTHCHECK_ENDPOINT}" \
30- io.daemonless.packages="${PACKAGES}"
15+ org.opencontainers.image.description="Self-hosted HTML5 Network Speed Test on FreeBSD. " \
16+ org.opencontainers.image.source="https://github.com/daemonless/openspeedtest" \
17+ org.opencontainers.image.url="https://openspeedtest.com/" \
18+ org.opencontainers.image.documentation="https://github.com/openspeedtest/Speed-Test" \
19+ org.opencontainers.image.version="${OPENSPEEDTEST_VERSION}" \
20+ org.opencontainers.image.licenses="MIT" \
21+ org.opencontainers.image.vendor="daemonless" \
22+ org.opencontainers.image.authors="daemonless" \
23+ io.daemonless.category= "Utilities " \
24+ io.daemonless.port= "3005 " \
25+ io.daemonless.arch= "${FREEBSD_ARCH} " \
26+ io.daemonless.base= "nginx " \
27+ io.daemonless.upstream-url="${UPSTREAM_URL}" \
28+ io.daemonless.upstream-jq="${UPSTREAM_JQ}" \
29+ io.daemonless.healthcheck-url="${HEALTHCHECK_ENDPOINT}" \
30+ io.daemonless.packages="${PACKAGES}"
3131
3232# Download OpenSpeedTest files
3333RUN pkg update && pkg install -y ${PACKAGES} && \
@@ -45,6 +45,7 @@ COPY root/ /
4545
4646RUN chmod +x /etc/cont-init.d/* 2>/dev/null || true
4747
48- EXPOSE 3000
49-
48+ # --- Expose (Injected by Generator) ---
49+ EXPOSE 3005
5050
51+ # --- Volumes (Injected by Generator) ---
0 commit comments