mirror of
https://github.com/YunoHost-Apps/homarr_ynh.git
synced 2024-09-03 19:26:00 +02:00
cleaning
This commit is contained in:
parent
9a2f42862b
commit
4845df14d7
3 changed files with 15 additions and 3 deletions
0
conf/.env
Normal file
0
conf/.env
Normal file
|
@ -5,7 +5,7 @@ name = "Homarr"
|
||||||
description.en = "Customizable browser's home page to interact with your homeserver's Docker containers"
|
description.en = "Customizable browser's home page to interact with your homeserver's Docker containers"
|
||||||
description.fr = "Page d'accueil personnalisable pour interagir avec les conteneurs Docker de votre serveur"
|
description.fr = "Page d'accueil personnalisable pour interagir avec les conteneurs Docker de votre serveur"
|
||||||
|
|
||||||
version = "0.13.4~ynh1"
|
version = "0.14.2~ynh1"
|
||||||
|
|
||||||
maintainers = ["eric_G"]
|
maintainers = ["eric_G"]
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/ajnart/homarr/archive/refs/tags/v0.13.4.tar.gz"
|
url = "https://github.com/ajnart/homarr/archive/refs/tags/v0.14.2.tar.gz"
|
||||||
sha256 = "bddeecf22f40743ff7446bc8dc8427539788425671147029a33b088aaec5967b"
|
sha256 = "c8e30aaf9ccfd5c5cfa11965cbb7d0c4615c915afca73f19b0b64c8fa3abd327"
|
||||||
autoupdate.strategy = "latest_github_tag"
|
autoupdate.strategy = "latest_github_tag"
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
secret=$(ynh_string_random --length=24)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL DEPENDENCIES
|
# INSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -36,6 +38,16 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=1
|
||||||
# Create a dedicated NGINX config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# ADD A CONFIGURATION
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
|
ynh_add_config --template=".env" --destination="$install_dir/.env"
|
||||||
|
|
||||||
|
chmod 400 "$install_dir/.env"
|
||||||
|
chown $app:$app "$install_dir/.env"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL HOMARR
|
# INSTALL HOMARR
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue