0
0
Fork 0

feat: pre/post hooks

This commit is contained in:
decentral1se 2023-09-07 18:19:04 +02:00
parent d1a4bf43e0
commit 8b298b1b33
Signed by untrusted user: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,8 @@ services:
- "coop-cloud.${STACK_NAME}.version=0.1.0+1.20.0"
- "backupbot.backup=true"
- "backupbot.backup.path=/etc/nginx/"
- "backupbot.backup.pre-hook=echo 'foo'"
- "backupbot.backup.post-hook=echo 'bar'"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"]
interval: 30s