feat: set default quota via abra app cmd
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
805b29d918
commit
012e9c2310
@ -23,6 +23,10 @@ FPM_START_SERVERS=32
|
|||||||
FPM_MIN_SPARE_SERVERS=32
|
FPM_MIN_SPARE_SERVERS=32
|
||||||
FPM_MAX_SPARE_SERVERS=98
|
FPM_MAX_SPARE_SERVERS=98
|
||||||
|
|
||||||
|
DEFAULT_QUOTA="10 GB"
|
||||||
|
|
||||||
|
# X_FRAME_OPTIONS_ENABLED=1
|
||||||
|
# X_FRAME_OPTIONS_ALLOW_FROM=embedding-site.example.org
|
||||||
|
|
||||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.smtp.yml"
|
||||||
# See https://github.com/nextcloud/docker#auto-configuration-via-environment-variables for default values
|
# See https://github.com/nextcloud/docker#auto-configuration-via-environment-variables for default values
|
||||||
@ -35,9 +39,6 @@ FPM_MAX_SPARE_SERVERS=98
|
|||||||
# MAIL_DOMAIN=
|
# MAIL_DOMAIN=
|
||||||
# SECRET_SMTP_PASSWORD_VERSION=v1
|
# SECRET_SMTP_PASSWORD_VERSION=v1
|
||||||
|
|
||||||
# X_FRAME_OPTIONS_ENABLED=1
|
|
||||||
# X_FRAME_OPTIONS_ALLOW_FROM=embedding-site.example.org
|
|
||||||
|
|
||||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.apps.yml"
|
# COMPOSE_FILE="$COMPOSE_FILE:compose.apps.yml"
|
||||||
# APPS="calendar sociallogin onlyoffice"
|
# APPS="calendar sociallogin onlyoffice"
|
||||||
#
|
#
|
||||||
|
5
abra.sh
5
abra.sh
@ -35,10 +35,13 @@ install_bbb(){
|
|||||||
set_app_config bbb api.secret "$(cat /run/secrets/bbb_secret)"
|
set_app_config bbb api.secret "$(cat /run/secrets/bbb_secret)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
install_onlyoffice(){
|
install_onlyoffice(){
|
||||||
install_apps onlyoffice
|
install_apps onlyoffice
|
||||||
set_app_config onlyoffice DocumentServerUrl "$ONLYOFFICE_URL"
|
set_app_config onlyoffice DocumentServerUrl "$ONLYOFFICE_URL"
|
||||||
set_app_config onlyoffice jwt_secret "$(cat /run/secrets/onlyoffice_jwt)"
|
set_app_config onlyoffice jwt_secret "$(cat /run/secrets/onlyoffice_jwt)"
|
||||||
set_app_config onlyoffice customizationForcesave true
|
set_app_config onlyoffice customizationForcesave true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set_default_quota(){
|
||||||
|
set_app_config files default_quota '"$DEFAULT_QUOTA"'
|
||||||
|
}
|
||||||
|
@ -65,6 +65,7 @@ services:
|
|||||||
- FPM_START_SERVERS=32
|
- FPM_START_SERVERS=32
|
||||||
- FPM_MIN_SPARE_SERVERS=32
|
- FPM_MIN_SPARE_SERVERS=32
|
||||||
- FPM_MAX_SPARE_SERVERS=98
|
- FPM_MAX_SPARE_SERVERS=98
|
||||||
|
- DEFAULT_QUOTA
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html/
|
- nextcloud:/var/www/html/
|
||||||
- nextapps:/var/www/html/custom_apps:cached
|
- nextapps:/var/www/html/custom_apps:cached
|
||||||
|
Loading…
x
Reference in New Issue
Block a user