This file contains hidden or 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
(global_configurations) { | |
log { | |
class all | |
} | |
errors | |
cache | |
prometheus :9153 | |
} | |
coredns.io:5300 { |
This file contains hidden or 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
.DEFAULT_GOAL := helper | |
# Uses the required .env for docker-compose to find root location. | |
CERTS_LOCATION ?= $(shell cat .env | grep -i CERTS_LOCATION | cut -f2 -d\=) | |
CA_LOC ?= $(CERTS_LOCATION)/ca | |
# Default location for client certificates to be stored. | |
CLIENT_LOC ?= $(CERTS_LOCATION)/client_certificates_remote | |
# Specific files for easier reference and changes. May change this in the future. | |
CA_CRT ?= $(CA_LOC)/ca.crt |
This file contains hidden or 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
urson |
This file contains hidden or 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
FROM golang:1.19 as build | |
WORKDIR /go/src/ | |
COPY go.* . | |
RUN go mod download | |
COPY . . | |
# --mount flag allows for speedier builds of the binary | |
RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 GOOS=linux go build -o app main.go | |
# Final image in the build process |
This file contains hidden or 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
#!/bin/sh | |
SHA256SUMS_FILE="./sha256_sums" | |
UNIQ_COUNTS_SORTED="./uniq_counts_sorted" | |
find . -type f -exec sha256sum {} \; > $SHA256SUMS_FILE | |
cat $SHA256SUMS_FILE | sort -k1 | cut -f1 -d\ | uniq -c | sed "s:^ *::g" | sort -rk1 > $UNIQ_COUNTS_SORTED | |
IFS=" |
This file contains hidden or 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
hound | |
sleuth | |
waldo | |
snoop/snooper | |
seeker |
OlderNewer