apps: rework portBindings

ports is REST API input . Map of env var to the host port
portBinding is the database structure. Map of env var to host port, count, type etc

also, rename portCount -> count in various places to keep things consistent
This commit is contained in:
Girish Ramakrishnan
2024-07-16 22:21:36 +02:00
parent eb314ef507
commit aeddaa4566
12 changed files with 151 additions and 147 deletions

View File

@@ -957,7 +957,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
subdomain: config.subdomain,
domain: config.domain,
secondaryDomains: config.secondaryDomains,
portBindings: config.portBindings,
ports: config.ports,
accessRestriction: config.accessRestriction,
cert: config.cert,
key: config.key,
@@ -979,7 +979,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
subdomain: config.subdomain,
domain: config.domain,
secondaryDomains: config.secondaryDomains,
portBindings: config.portBindings,
ports: config.ports,
backupId: config.backupId,
overwriteDns: !!config.overwriteDns
};