generated from coop-cloud/example
feat: pre/post hooks
This commit is contained in:
parent
d1a4bf43e0
commit
8b298b1b33
@ -18,6 +18,8 @@ services:
|
|||||||
- "coop-cloud.${STACK_NAME}.version=0.1.0+1.20.0"
|
- "coop-cloud.${STACK_NAME}.version=0.1.0+1.20.0"
|
||||||
- "backupbot.backup=true"
|
- "backupbot.backup=true"
|
||||||
- "backupbot.backup.path=/etc/nginx/"
|
- "backupbot.backup.path=/etc/nginx/"
|
||||||
|
- "backupbot.backup.pre-hook=echo 'foo'"
|
||||||
|
- "backupbot.backup.post-hook=echo 'bar'"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user