File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff 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 },
You can’t perform that action at this time.
0 commit comments