Select Git revision
config.ldif
-
nimrod authored
- Use a single volume for the config and data LDAP directories, easier to keep in sync in different cases (backups, migration). - Add backup script, save to backup volume. - Allow passing the location of the SSL key and cert to enable SSL, otherwise a self-signed certificate and key are generated with the FQDN of the container. - Drop the dockerfile-lint linter, didn't give any useful advice. - Change base image to Debian Buster. - Set stopsignal for the container. - Allow setting the log level. - Unset the cleartext root password environment variable.
nimrod authored- Use a single volume for the config and data LDAP directories, easier to keep in sync in different cases (backups, migration). - Add backup script, save to backup volume. - Allow passing the location of the SSL key and cert to enable SSL, otherwise a self-signed certificate and key are generated with the FQDN of the container. - Drop the dockerfile-lint linter, didn't give any useful advice. - Change base image to Debian Buster. - Set stopsignal for the container. - Allow setting the log level. - Unset the cleartext root password environment variable.
Dockerfile 375 B
FROM golang:alpine as go-statsd-vis
RUN apk --update add git && \
rm -rf /var/cache/apk/* && \
/usr/local/go/bin/go get github.com/rapidloop/statsd-vis
FROM alpine
COPY --from=go-statsd-vis /go/bin/statsd-vis /usr/local/bin
USER nobody
EXPOSE 8080/tcp 8125/tcp 8125/udp
CMD [ "/usr/local/bin/statsd-vis", "-statsdudp", "0.0.0.0:8125", "-statsdtcp", "0.0.0.0:8125" ]