mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-04-18 23:12:41 +02:00
Added custom notification messages using text/template (#60)
* Added custom notification messages using text/template * Change notification template path and removed automatic newline trim * Added stats and changed structure of template params * Stat file hotfix * Embedded and fixed default notification templates Fix * Changed Output to LogOutput * Changed stats integer to unsigned * Bytes formatting in template func fix * Changed Archives to Storages * Removed unecessary sleep for pruning leeway * Set EndTime after pruning is completed * Added custom notifications documentation * Added 5s sleep in swarm test * Fixed documentation * Dockerfile copies all files in cmd/backup
This commit is contained in:
@@ -6,7 +6,7 @@ FROM golang:1.17-alpine as builder
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY cmd/backup/main.go ./cmd/backup/main.go
|
||||
COPY cmd/backup ./cmd/backup/
|
||||
RUN go build -o backup cmd/backup/main.go
|
||||
|
||||
FROM alpine:3.15
|
||||
|
||||
Reference in New Issue
Block a user