extend VPN/docker environment to allow multiples nodes using the same directory
As a user or developer I want better handling of multiple nodes on the same machine using VPN/docker environment.
-
use only single node
folder fornode
andnode2
. Thanks to such setup, it will be possible to create more than 2 nodes (at this point user will obliged to add new service indocker-compose
). Additional, in docker file a port interval can be defined likeEXPOSE 14000-14010
to support more than 2 nodes in single setup/clone.- extend
docker-compose.yml
file to passCONFIG_FILE=config-n1.ini
for Fed-BioMed node configuration file + allow multiple ports (14000-14010 range) - extend container build scripts to handle custom file name instead of
config.env
- extend container scripts to use custom
CONFIG_DIR
for wireguard configurations - etc.
- extend
-
optional: further extension to allow the use of docker-compose --scale
- extend
fedbiomed_vpn
to address multiple nodes this way - need to find a way to interact with individual nodes when creating multiple nodes this way
- extend
Dear user, please keep the lign below when submitting an issue: allo