mirror of
https://github.com/runcitadel/core.git
synced 2024-12-27 07:05:05 +00:00
Fix more
This commit is contained in:
parent
bf0879f049
commit
d8cf6de9c4
|
@ -83,7 +83,7 @@ def configureMainPort(app: AppStage2, nodeRoot: str) -> AppStage3:
|
|||
nodeRoot, "apps", "networking.json"), path.join(nodeRoot, ".env"))
|
||||
|
||||
# Also set the port in metadata
|
||||
app.metadata.port = int(containerPort)
|
||||
app.metadata.port = int(port["publicPort"])
|
||||
if mainPort:
|
||||
app.metadata.internalPort = int(mainPort)
|
||||
else:
|
||||
|
@ -91,7 +91,7 @@ def configureMainPort(app: AppStage2, nodeRoot: str) -> AppStage3:
|
|||
|
||||
for registryApp in registry:
|
||||
if registryApp['id'] == app.metadata.id:
|
||||
registry[registry.index(registryApp)]['port'] = int(containerPort)
|
||||
registry[registry.index(registryApp)]['port'] = port["publicPort"]
|
||||
registry[registry.index(registryApp)]['internalPort'] = app.metadata.internalPort
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user