fix wrond var

This commit is contained in:
oiseauroch 2022-11-29 14:48:43 +01:00
parent a04efbd137
commit 94c76ff596
2 changed files with 0 additions and 10 deletions

View File

@ -22,8 +22,3 @@ bootstrap_peers = []
# pour avoir de la sécurité
api_bind_addr = "[::]:__PORT_API__"
s3_region = "garage"
[admin]
api_bind_addr = "127.0.0.1:__PORT_ADMIN__"
metrics_token = "__METRIC_TOKEN__"
admin_token = "__ADMIN_TOKEN__"

View File

@ -127,12 +127,7 @@ port=$(ynh_find_port --port=4000)
ynh_app_setting_set --app=$app --key=port --value=$port
port_api=$(ynh_find_port --port=5000)
ynh_app_setting_set --app=$app --key=port_api --value=$port_api
port_web=$(ynh_find_port --port=6000)
ynh_app_setting_set --app=$app --key=port_web --value=$port_web
port_admin=$(ynh_find_port --port=7000)
ynh_app_setting_set --app=$app --key=port_admin --value=$port_admin
ynh_print_warn --message="port : $port port_api : $port_api port_web : $port_web port_admin : $port_admin"
nbd_index=127