fix restic version, timeout and cron default timer

This commit is contained in:
Moritz 2023-09-22 00:50:45 +02:00
parent 33ce3c58aa
commit 6fa9440c76
3 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ COMPOSE_FILE=compose.yml
RESTIC_REPO=/backups/restic
CRON_SCHEDULE='30 */4 * * *'
CRON_SCHEDULE='30 3 * * *'
# swarm-cronjob, instead of built-in cron
#COMPOSE_FILE="$COMPOSE_FILE:compose.swarm-cronjob.yml"

View File

@ -16,7 +16,7 @@ services:
deploy:
labels:
- coop-cloud.${STACK_NAME}.version=0.1.0+latest
- coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}
- coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-300}
configs:
- source: entrypoint
target: /entrypoint.sh

View File

@ -3,6 +3,7 @@
set -e -o pipefail
apk add --upgrade --no-cache \
restic=0.15.2-r3 \
bash=5.2.15-r5 \
restic=0.15.2-r2 \
python3=3.11.5-r0 \