@@ -342,7 +342,7 @@ def __init__(self, args):
342342 self .statistics_port = int (args .statsport ) if hasattr (args , "statsport" ) else 8080
343343 self .simulation = args .simulation
344344 self .config_dir = args .config
345- self .db_dir = args .databases if hasattr (args , "databases" ) else "/opt/nebula"
345+ self .databases_dir = args .databases if hasattr (args , "databases" ) else "/opt/nebula"
346346 self .test = args .test if hasattr (args , "test" ) else False
347347 self .log_dir = args .logs
348348 self .cert_dir = args .certs
@@ -457,7 +457,7 @@ def start(self):
457457 else :
458458 self .run_frontend ()
459459 logging .info (f"NEBULA Frontend is running at http://localhost:{ self .frontend_port } " )
460- logging .info (f"NEBULA Databases created in { self .db_dir } " )
460+ logging .info (f"NEBULA Databases created in { self .databases_dir } " )
461461
462462 # Watchdog for running additional scripts in the host machine (i.e. during the execution of a federation)
463463 event_handler = NebulaEventHandler ()
@@ -686,7 +686,7 @@ def run_frontend(self):
686686 f"{ self .root_path } :/nebula" ,
687687 "/var/run/docker.sock:/var/run/docker.sock" ,
688688 f"{ self .root_path } /nebula/frontend/config/nebula:/etc/nginx/sites-available/default" ,
689- f"{ self .db_dir } /databases :/nebula/nebula/frontend/databases" ,
689+ f"{ self .databases_dir } :/nebula/nebula/frontend/databases" ,
690690 ],
691691 extra_hosts = {"host.docker.internal" : "host-gateway" },
692692 port_bindings = {80 : self .frontend_port , 8080 : self .statistics_port },
0 commit comments