-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from hnlq715/fix-docker-error
Fix docker error
- Loading branch information
Showing
4 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
FROM quay.io/prometheus/busybox:latest | ||
FROM alpine:latest | ||
MAINTAINER Sophos <[email protected]> | ||
|
||
COPY bin/nginx-vts-exporter.tar.gz /bin/ | ||
COPY docker-entrypoint.sh /bin/docker-entrypoint.sh | ||
WORKDIR /bin | ||
COPY bin/nginx-vts-exporter /bin/ | ||
COPY docker-entrypoint.sh /bin/ | ||
RUN chmod +x /bin/nginx-vts-exporter | ||
|
||
ENV NGIX_HOST "http://localhost" | ||
ENV NGINX_HOST "http://localhost" | ||
ENV METRICS_ENDPOINT "/metrics" | ||
ENV METRICS_ADDR ":9913" | ||
ENV DEFAULT_METRICS_NS "nginx" | ||
|
||
ENTRYPOINT ["/bin/docker-entrypoint.sh"] | ||
ENTRYPOINT ["docker-entrypoint.sh"] |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters