Skip to content

Commit 861ae85

Browse files
committed
using node1 always
1 parent 151cda2 commit 861ae85

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

installer/compose.go

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -349,10 +349,7 @@ func (c *Compose) Populate(conf *Config, stack *StackConfig) *Compose {
349349
"DB_PORT=5432",
350350
"DB_NAME=utmstack",
351351
"LOGSTASH_URL=http://logstash:9600",
352-
"ELASTICSEARCH_HOST=" + utils.Mode(conf.ServerType, map[string]interface{}{
353-
"aio": "node1",
354-
"cloud": "gateway.utmstack.local",
355-
}).(string),
352+
"ELASTICSEARCH_HOST=node1",
356353
"ELASTICSEARCH_PORT=9200",
357354
"INTERNAL_KEY=" + conf.InternalKey,
358355
"ENCRYPTION_KEY=" + conf.InternalKey,
@@ -420,10 +417,7 @@ func (c *Compose) Populate(conf *Config, stack *StackConfig) *Compose {
420417
"POSTGRESQL_HOST=postgres",
421418
"POSTGRESQL_PORT=5432",
422419
"POSTGRESQL_DATABASE=utmstack",
423-
"ELASTICSEARCH_HOST=" + utils.Mode(conf.ServerType, map[string]interface{}{
424-
"aio": "node1",
425-
"cloud": "gateway.utmstack.local",
426-
}).(string),
420+
"ELASTICSEARCH_HOST=node1",
427421
"ELASTICSEARCH_PORT=9200",
428422
"ERROR_LEVEL=info",
429423
},

0 commit comments

Comments
 (0)