Compare commits

..
Author SHA1 Message Date
moosemower b48e8496fd idfk man 2026-07-27 20:14:34 -07:00
stevensting 04c4b33bea Merge branch 'main' into fix-dbbackup
continuous-integration/drone/pr Build is failing
2026-06-11 19:08:26 +02:00
stevensting df0e3821c7 fix backup
continuous-integration/drone/pr Build is failing
2026-06-11 19:01:59 +02:00
stevensting 89712a079e fix postgres backup with standard script
continuous-integration/drone/pr Build is failing
2026-06-11 18:56:43 +02:00
5 changed files with 7 additions and 15 deletions
-4
View File
@@ -26,10 +26,6 @@ REPLY_HOSTNAME=$DOMAIN
RAILS_ENV=production RAILS_ENV=production
# Secure page via tiny auth
# COMPOSE_FILE="$COMPOSE_FILE:compose.tinyauth.yml"
# TINY_MIDDLEWARE="sub_example_com"
# Number of webserver processes and threads # Number of webserver processes and threads
# threads are per worker. See https://github.com/puma/puma # threads are per worker. See https://github.com/puma/puma
PUMA_WORKERS=2 PUMA_WORKERS=2
-6
View File
@@ -1,6 +0,0 @@
version: "3.8"
services:
app:
deploy:
labels:
- "traefik.http.routers.${STACK_NAME}.middlewares=${TINY_MIDDLEWARE}"
+2 -1
View File
@@ -70,8 +70,9 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=5.2.1+v3.0.20" - "coop-cloud.${STACK_NAME}.version=5.2.0+v3.0.20"
- "backupbot.backup:=${ENABLE_BACKUPS:-true}" - "backupbot.backup:=${ENABLE_BACKUPS:-true}"
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}"
- "traefik.http.middlewares.${STACK_NAME}.headers.accesscontrolallowmethods=GET,OPTIONS,PUT" - "traefik.http.middlewares.${STACK_NAME}.headers.accesscontrolallowmethods=GET,OPTIONS,PUT"
- "traefik.http.middlewares.${STACK_NAME}.headers.accesscontrolallowheaders=*" - "traefik.http.middlewares.${STACK_NAME}.headers.accesscontrolallowheaders=*"
- "traefik.http.middlewares.${STACK_NAME}.headers.accessControlAllowOriginList=https://*.${DOMAIN}" - "traefik.http.middlewares.${STACK_NAME}.headers.accessControlAllowOriginList=https://*.${DOMAIN}"
+5 -3
View File
@@ -58,13 +58,15 @@ function restore {
# Execute the function passed as argument # Execute the function passed as argument
case "$1" in case "$1" in
backup) backup)
backup echo "oh you wanna backup??"
exit 1
;; ;;
restore) restore)
restore echo "oh you wanna restore??"
exit 1
;; ;;
*) *)
echo "Usage: $0 {backup|restore}" echo "Usage: $0 {backup|restore}"
exit 1 exit 1
;; ;;
esac esac
-1
View File
@@ -1 +0,0 @@
Backup script improvements contributed by stevensting