Last active 20 hours ago

irc

Revision 578eac33439fcdeadbfad1f50b0153632c744a88

Dockerfile Raw
1FROM golang:1.24-alpine AS build
2
3RUN apk update && apk add --no-cache git make build-base
4
5WORKDIR /nagjo
6
7RUN git clone https://codeberg.org/emersion/nagjo.git .
8
9RUN go build
10
11FROM alpine:latest
12
13COPY --from=build /nagjo/nagjo /usr/bin/nagjo
14
15CMD ["/usr/bin/nagjo", "-config", "/etc/nagjo/config.scfg" ]
config.sfcg Raw
1listen 0.0.0.0:65449
2
3connect ircs://NETWORK_NAME {
4 nickname NICK
5 server-password PASS
6}
7
8forgejo {
9 base-url https://FORGEJO_URL/FORGEJO_USERNAME
10 check-webhook-auth-token WEBHOOK_TOKEN
11}
12
13channel #CHANNEL_NAME
14 repository FORGEJO_REPO_NAME
15}
16