Mentions légales du service

Skip to content

Misc addition for #343: distant connection to node GUI in VPN/container

VESIN Marc requested to merge 343-distant-connection-vpn into develop

MR description

Misc addition to #343 (closed): when using VPN/container mode, control connections from a distant machine to GUI is a combination of control by IP address and HTTP host name:

  • GUI_SERVER_IP enables choosing the subset of the node machine's IP addresses that can be used to connect to the GUI. By default only 127.0.0.1 (localhost) is authorized. Using GUI_SERVER_IP=0.0.0.0 enables to reach any IP address of the node machine. Specify GUI_SERVER_IP=a.b.c.d where a.b.c.d is a node machine's IP to listen only on that IP address
  • GUI_SERVER_NAME enables choosing the server name(s) of the node machine that can be used to connect to the GUI. By default, any DNS alias of the node machine can be used. Using GUI_SERVER_NAME=my.fqdn.com where my.fqdn.com is a DNS alias of the node machine authorizes only to connect to the node GUI using this name as HTTP host name (eg: http://my.fqdn.com:8484). Wildcards can be included in the name as supported by Nginx for example: GUI_SERVER_NAME='*.domain.com' (don't forget single quotes in this case).

Developer Certificate Of Origin (DCO)

By opening this merge request, you agree the Developer Certificate of Origin (DCO)

This DCO essentially means that:

  • you offer the changes under the same license agreement as the project, and
  • you have the right to do that,
  • you did not steal somebody else’s work.

License

Project code files should begin with these comment lines to help trace their origin:

# This file is originally part of Fed-BioMed
# SPDX-License-Identifier: Apache-2.0

Code files can be reused from another project with a compatible non-contaminating license. They shall retain the original license and copyright mentions. The CREDIT.md file and credit/ directory shall be completed and updated accordingly.

Guidelines for MR review

General:

Specific to some cases:

  • update all conda envs consistently (development and vpn, Linux and MacOS)
  • if modified researcher (eg new attributes in classes) check if breakpoint needs update (breakpoint/load_breakpoint in Experiment(), save_state/load_state in aggregators, strategies, secagg, etc.)

Closes #343 (closed)

Edited by VESIN Marc

Merge request reports