forked from hipages/php-fpm_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
21 lines (17 loc) · 759 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM alpine:3.17.1
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
COPY php-fpm_exporter /
EXPOSE 9253
ENTRYPOINT [ "/php-fpm_exporter", "server" ]
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="php-fpm_exporter" \
org.label-schema.description="A prometheus exporter for PHP-FPM." \
org.label-schema.url="https://hipages.com.au/" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-url="https://github.com/hipages/php-fpm_exporter" \
org.label-schema.vendor="hipages" \
org.label-schema.version=$VERSION \
org.label-schema.schema-version="1.0" \
org.label-schema.docker.cmd="docker run -it --rm -e PHP_FPM_SCRAPE_URI=\"tcp:https://127.0.0.1:9000/status\" hipages/php-fpm_exporter"