Add a file that contains occ commands

This commit is contained in:
Ammar Hussein 2025-06-02 19:55:08 -07:00
parent b4eaadec56
commit a13fe0ae2c
4 changed files with 13 additions and 4 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*~

View File

@ -1,4 +1,4 @@
TYPE=authentik
TYPE=authentik:6.11.0+2024.10.5
TIMEOUT=900
ENABLE_AUTO_UPDATE=true
POST_DEPLOY_CMDS="worker set_admin_pass"
@ -127,4 +127,4 @@ APP_ICONS="nextcloud:~/.abra/recipes/authentik/icons/nextcloud.png"
# APPLICATIONS='{"Calendar": "https://nextcloud.example.com/apps/calendar/", "BBB": "https://nextcloud.example.com/apps/bbb/"}'
# APP_ICONS="$APP_ICONS Calendar:~/.abra/recipes/authentik/icons/calendar.svg"
# APP_ICONS="$APP_ICONS BBB:~/.abra/recipes/authentik/icons/bbb.png"
# APP_ICONS="$APP_ICONS BBB:~/.abra/recipes/authentik/icons/bbb.png"

View File

@ -1,4 +1,4 @@
TYPE=nextcloud
TYPE=nextcloud:11.0.0+30.0.4-fpm
TIMEOUT=900
ENABLE_AUTO_UPDATE=true
ENABLE_BACKUPS=true
@ -76,4 +76,4 @@ OCC_CMDS="$OCC_CMDS|config:app:set sociallogin auto_create_groups --value 1"
OCC_CMDS="$OCC_CMDS|config:app:set sociallogin hide_default_login --value 1"
#COMPOSE_FILE="$COMPOSE_FILE:compose.fulltextsearch.yml"
#SECRET_ELASTICSEARCH_PASSWORD_VERSION=v1
#SECRET_ELASTICSEARCH_PASSWORD_VERSION=v1

View File

@ -0,0 +1,8 @@
#!/bin/bash
# This is a script to run after a clean installation to restore all settings done over time.
# The script is not supposed to be needed since a fresh installation is unlikely (even if migrating,
# a backup will be used and should maintain it's configs).
# This script is more of a living documentation of configuration and what commands has been used to set them.
# See: https://docs.nextcloud.com/server/30/admin_manual/configuration_server/background_jobs_configuration.html
abra app command nextcloud.resisttechmonopolies.online app run_occ "'config:system:set maintenance_window_start --type=integer --value=1'"