mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-11-21 18:41:35 +01:00
Add LFS support
This commit is contained in:
parent
26429cd402
commit
7f8213a32d
@ -27,6 +27,8 @@ SSH_PORT = __SSH_PORT__
|
|||||||
OFFLINE_MODE = false
|
OFFLINE_MODE = false
|
||||||
APP_DATA_PATH = __DATA_PATH__
|
APP_DATA_PATH = __DATA_PATH__
|
||||||
LANDING_PAGE = explore
|
LANDING_PAGE = explore
|
||||||
|
LFS_START_SERVER = true
|
||||||
|
LFS_JWT_SECRET = __LFS_KEY__
|
||||||
|
|
||||||
[mailer]
|
[mailer]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
|
@ -43,6 +43,7 @@ fi
|
|||||||
ynh_script_progression --message="Defining db password and key..."
|
ynh_script_progression --message="Defining db password and key..."
|
||||||
db_password=$(ynh_string_random)
|
db_password=$(ynh_string_random)
|
||||||
key=$(ynh_string_random)
|
key=$(ynh_string_random)
|
||||||
|
lfs_key=$(ynh_string_random)
|
||||||
|
|
||||||
# Find available ports
|
# Find available ports
|
||||||
port=$(ynh_find_port --port 6000)
|
port=$(ynh_find_port --port 6000)
|
||||||
@ -52,6 +53,7 @@ ynh_script_progression --message="Storing installation settings..."
|
|||||||
ynh_app_setting_set --app $app --key mysqlpwd --value $db_password
|
ynh_app_setting_set --app $app --key mysqlpwd --value $db_password
|
||||||
ynh_app_setting_set --app $app --key adminusername --value $admin
|
ynh_app_setting_set --app $app --key adminusername --value $admin
|
||||||
ynh_app_setting_set --app $app --key secret_key --value $key
|
ynh_app_setting_set --app $app --key secret_key --value $key
|
||||||
|
ynh_app_setting_set --app $app --key lfs_key --value $lfs_key
|
||||||
ynh_app_setting_set --app $app --key web_port --value $port
|
ynh_app_setting_set --app $app --key web_port --value $port
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -21,6 +21,7 @@ path_url=$(ynh_normalize_url_path --path_url $(ynh_app_setting_get --app $app --
|
|||||||
db_password=$(ynh_app_setting_get --app $app --key mysqlpwd)
|
db_password=$(ynh_app_setting_get --app $app --key mysqlpwd)
|
||||||
admin=$(ynh_app_setting_get --app $app --key adminusername)
|
admin=$(ynh_app_setting_get --app $app --key adminusername)
|
||||||
key=$(ynh_app_setting_get --app $app --key secret_key)
|
key=$(ynh_app_setting_get --app $app --key secret_key)
|
||||||
|
lfs_key=$(ynh_app_setting_get --app $app --key lfs_key)
|
||||||
port=$(ynh_app_setting_get --app $app --key web_port)
|
port=$(ynh_app_setting_get --app $app --key web_port)
|
||||||
upstream_version=$(ynh_app_setting_get --app $app --key upstream_version)
|
upstream_version=$(ynh_app_setting_get --app $app --key upstream_version)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user