mirror of
https://github.com/YunoHost-Apps/nodered_ynh.git
synced 2024-09-03 19:46:25 +02:00
Set port to 1880
This commit is contained in:
parent
ede2b53c53
commit
24231bf166
3 changed files with 5 additions and 5 deletions
|
@ -28,7 +28,7 @@ Add plugins to Node-RED, like [Home-Assistant](https://github.com/YunoHost-Apps/
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* Official documentation: https://nodered.org/docs/
|
* Official documentation: https://nodered.org/docs/
|
||||||
|
|
||||||
## YunoHost specific features
|
## YunoHost specific features
|
||||||
|
|
||||||
|
@ -38,8 +38,8 @@ Since Node-Red can handle sensitive automation, the app is always installed in p
|
||||||
|
|
||||||
#### Multi-users support
|
#### Multi-users support
|
||||||
|
|
||||||
Are LDAP and HTTP auth supported? **No**
|
* Are LDAP and HTTP auth supported? **No**
|
||||||
Can the app be used by multiple users? **No**
|
* Can the app be used by multiple users? **No**
|
||||||
|
|
||||||
#### Supported architectures
|
#### Supported architectures
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ La configuration, et l'installation de plugins tels que pour [Home-Assistant](ht
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
* Documentation officielle : https://nodered.org/docs/
|
* Documentation officielle : https://nodered.org/docs/
|
||||||
|
|
||||||
## Caractéristiques spécifiques YunoHost
|
## Caractéristiques spécifiques YunoHost
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@ ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||||
ynh_script_progression --message="Configuring firewall..." --weight=1
|
ynh_script_progression --message="Configuring firewall..." --weight=1
|
||||||
|
|
||||||
# Find a free port
|
# Find a free port
|
||||||
port=$(ynh_find_port --port=8095)
|
port=$(ynh_find_port --port=1880)
|
||||||
# Open this port
|
# Open this port
|
||||||
ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port
|
ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $port
|
||||||
ynh_app_setting_set --app=$app --key=port --value=$port
|
ynh_app_setting_set --app=$app --key=port --value=$port
|
||||||
|
|
Loading…
Reference in a new issue