mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-13 02:21:50 +08:00

* feat(query-service): support for SMTP service Signed-off-by: Prashant Shahi <prashant@signoz.io> * feat(query-service): smtp minor fixes Signed-off-by: Prashant Shahi <prashant@signoz.io> * chore: fix smtp and add email template * chore: update template * chore(smpt-service): configurable invite email template path Signed-off-by: Prashant Shahi <prashant@signoz.io> --------- Signed-off-by: Prashant Shahi <prashant@signoz.io> Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
32 lines
806 B
Docker
32 lines
806 B
Docker
# use a minimal alpine image
|
|
FROM alpine:3.18.5
|
|
|
|
# Add Maintainer Info
|
|
LABEL maintainer="signoz"
|
|
|
|
# define arguments that can be passed during build time
|
|
ARG TARGETOS TARGETARCH
|
|
|
|
# add ca-certificates in case you need them
|
|
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
|
|
|
|
# set working directory
|
|
WORKDIR /root
|
|
|
|
# copy the query-service binary
|
|
COPY pkg/query-service/bin/query-service-${TARGETOS}-${TARGETARCH} /root/query-service
|
|
|
|
# copy prometheus YAML config
|
|
COPY pkg/query-service/config/prometheus.yml /root/config/prometheus.yml
|
|
COPY pkg/query-service/templates /root/templates
|
|
|
|
# Make query-service executable for non-root users
|
|
RUN chmod 755 /root /root/query-service
|
|
|
|
# run the binary
|
|
ENTRYPOINT ["./query-service"]
|
|
|
|
CMD ["-config", "/root/config/prometheus.yml"]
|
|
|
|
EXPOSE 8080
|