File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -56,15 +56,16 @@ docker run -it --rm \
56
56
--hostname gocron \
57
57
-p 8156:8156 \
58
58
-e TZ=Europe/Berlin \
59
- -v ./config/:/app/config/ \
60
- # -e SEND_ON_SUCCESS=true \
59
+ -e DELETE_RUNS_AFTER_DAYS=7 \
60
+ -e SEND_ON_SUCCESS=true \
61
61
# Log level can be one of: debug info warn error
62
- # -e LOG_LEVEL=info \
63
- # -e PORT=8156 \
62
+ -e LOG_LEVEL=info \
63
+ -e PORT=8156 \
64
64
# Uncomment and replace <token> if using ntfy notifications
65
65
# -e NTFY_URL=https://ntfy.hoss.it/ \
66
66
# -e NTFY_TOPIC=Backup \
67
67
# -e NTFY_TOKEN=<token> \
68
+ -v ./config/:/app/config/ \
68
69
# Uncomment if using Restic with a password file
69
70
# -v ./.resticpwd:/secrets/.resticpwd \
70
71
# Uncomment if using a preconfigured rclone config
@@ -85,10 +86,13 @@ services:
85
86
hostname : gocron
86
87
environment :
87
88
- TZ=Europe/Berlin
88
- # - SEND_ON_SUCCESS=true
89
+ # Delete runs from db after x days
90
+ - DELETE_RUNS_AFTER_DAYS=7
91
+ # Send a ntfy message even on success of job runs
92
+ - SEND_ON_SUCCESS=true
89
93
# Log level can be one of: debug info warn error
90
- # - LOG_LEVEL=info
91
- # - PORT=8156
94
+ - LOG_LEVEL=info
95
+ - PORT=8156
92
96
# Uncomment and replace <token> if using ntfy notifications
93
97
# - NTFY_URL=https://ntfy.hoss.it/
94
98
# - NTFY_TOPIC=Backup
You can’t perform that action at this time.
0 commit comments