Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eba27271d2 | ||
|
|
86fd81a825 |
+1
-1
@@ -70,7 +70,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=5.2.0+v3.0.20"
|
||||
- "coop-cloud.${STACK_NAME}.version=5.2.1+v3.0.20"
|
||||
- "backupbot.backup:=${ENABLE_BACKUPS:-true}"
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}"
|
||||
- "traefik.http.middlewares.${STACK_NAME}.headers.accesscontrolallowmethods=GET,OPTIONS,PUT"
|
||||
|
||||
+3
-5
@@ -58,15 +58,13 @@ function restore {
|
||||
# Execute the function passed as argument
|
||||
case "$1" in
|
||||
backup)
|
||||
echo "oh you wanna backup??"
|
||||
exit 1
|
||||
backup
|
||||
;;
|
||||
restore)
|
||||
echo "oh you wanna restore??"
|
||||
exit 1
|
||||
restore
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {backup|restore}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
@@ -0,0 +1 @@
|
||||
Backup script improvements contributed by stevensting
|
||||
Reference in New Issue
Block a user