We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed01708 commit f78446fCopy full SHA for f78446f
1 file changed
APP/ogree_app_backend/tenant.go
@@ -217,12 +217,13 @@ func dockerCreateTenant(newTenant tenant) string {
217
218
// Default values, empty vars not accepted on docker compose
219
newTenant.BffApiListFile = "./bff_api_list.json"
220
- newTenant.BffPort = newTenant.ApiPort
+
221
if newTenant.HasBff {
222
args = append(args, "--profile")
223
args = append(args, "arango")
224
if newTenant.BffPort == "" {
225
// Set API Port to BFF Port + 1
226
+ newTenant.BffPort = newTenant.ApiPort
227
port, _ := strconv.Atoi(newTenant.ApiPort)
228
newTenant.ApiPort = strconv.Itoa(port + 1)
229
}
0 commit comments