diff --git a/conf/.env b/conf/.env new file mode 100644 index 0000000..e69de29 diff --git a/manifest.toml b/manifest.toml index ccc76f4..615510d 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Homarr" 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" -version = "0.13.4~ynh1" +version = "0.14.2~ynh1" maintainers = ["eric_G"] @@ -37,8 +37,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/ajnart/homarr/archive/refs/tags/v0.13.4.tar.gz" - sha256 = "bddeecf22f40743ff7446bc8dc8427539788425671147029a33b088aaec5967b" + url = "https://github.com/ajnart/homarr/archive/refs/tags/v0.14.2.tar.gz" + sha256 = "c8e30aaf9ccfd5c5cfa11965cbb7d0c4615c915afca73f19b0b64c8fa3abd327" autoupdate.strategy = "latest_github_tag" [resources.ports] diff --git a/scripts/install b/scripts/install index 50503d8..4b1f104 100755 --- a/scripts/install +++ b/scripts/install @@ -9,6 +9,8 @@ source _common.sh source /usr/share/yunohost/helpers +secret=$(ynh_string_random --length=24) + #================================================= # INSTALL DEPENDENCIES #================================================= @@ -36,6 +38,16 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=1 # Create a dedicated 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 #=================================================