Skip to content

Commit 3f2c7f4

Browse files
committed
Update README.md
1 parent 3b8e064 commit 3f2c7f4

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,16 @@ docker run -it --rm \
5656
--hostname gocron \
5757
-p 8156:8156 \
5858
-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 \
6161
# 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 \
6464
# Uncomment and replace <token> if using ntfy notifications
6565
# -e NTFY_URL=https://ntfy.hoss.it/ \
6666
# -e NTFY_TOPIC=Backup \
6767
# -e NTFY_TOKEN=<token> \
68+
-v ./config/:/app/config/ \
6869
# Uncomment if using Restic with a password file
6970
# -v ./.resticpwd:/secrets/.resticpwd \
7071
# Uncomment if using a preconfigured rclone config
@@ -85,10 +86,13 @@ services:
8586
hostname: gocron
8687
environment:
8788
- 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
8993
# Log level can be one of: debug info warn error
90-
# - LOG_LEVEL=info
91-
# - PORT=8156
94+
- LOG_LEVEL=info
95+
- PORT=8156
9296
# Uncomment and replace <token> if using ntfy notifications
9397
# - NTFY_URL=https://ntfy.hoss.it/
9498
# - NTFY_TOPIC=Backup

0 commit comments

Comments
 (0)