-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
24 lines (24 loc) · 1.12 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM prom/pushgateway:v1.5.1
ARG tag
EXPOSE 5001
RUN mkdir -p /pushgateway && chown nobody:nobody /pushgateway
WORKDIR /pushgateway
USER 65534
CMD ["--web.listen-address", ":5000", "--log.format", "json"]
ENTRYPOINT [ "/bin/pushgateway" ]
LABEL blaze.service.id="prometheus-pushgateway" \
blaze.service.name="blaze-prometheus-pushgateway-service" \
blaze.service.version="${tag}" \
blaze.service.team="Tooling" \
blaze.service.description="Prometheus pushgateway, wrapped in a service." \
blaze.service.features.health-check.enabled="true" \
blaze.service.features.health-check.endpoint="/static/functions.js" \
blaze.service.features.metrics.enabled="true" \
blaze.service.deployment.cpu="0.1" \
blaze.service.deployment.memory="100" \
blaze.service.deployment.minimum-instances="1" \
blaze.service.deployment.internal-port="5000" \
blaze.service.deployment.promotion.accept.manual-step="false" \
blaze.service.deployment.promotion.prod.manual-step="false" \
blaze.service.routing.consumer.exposed="false" \
blaze.service.routing.trusted.exposed="true"