Skip to content

Commit ca99ad3

Browse files
committed
feat(installer): remove threadwinds-ingestion from stack configuration
1 parent fdf03ea commit ca99ad3

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

installer/types/compose.go

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -596,38 +596,6 @@ func (c *Compose) Populate(conf *Config, stack *StackConfig) *Compose {
596596
},
597597
}
598598

599-
threadwindsIngestionMem := stack.ServiceResources["threadwinds-ingestion"].AssignedMemory
600-
c.Services["threadwinds-ingestion"] = Service{
601-
Image: utils.Str("ghcr.io/utmstack/utmstack/threadwinds-ingestion:" + conf.Branch),
602-
DependsOn: []string{
603-
"postgres",
604-
"node1",
605-
"backend",
606-
},
607-
Environment: []string{
608-
"INTERNAL_KEY=" + conf.InternalKey,
609-
"ENCRYPTION_KEY=" + conf.InternalKey,
610-
"BACKEND_URL=http://backend:8080",
611-
"ENV=" + conf.Branch,
612-
"OPENSEARCH_HOST=node1",
613-
"OPENSEARCH_PORT=9200",
614-
"DB_HOST=postgres",
615-
"DB_PORT=5432",
616-
"DB_USER=postgres",
617-
"DB_PASS=" + conf.Password,
618-
"DB_NAME=utmstack",
619-
},
620-
Logging: &dLogging,
621-
Deploy: &Deploy{
622-
Placement: &pManager,
623-
Resources: &Resources{
624-
Limits: &Res{
625-
Memory: utils.Str(fmt.Sprintf("%vM", threadwindsIngestionMem)),
626-
},
627-
},
628-
},
629-
}
630-
631599
webPDFMem := stack.ServiceResources["web-pdf"].AssignedMemory
632600
c.Services["web-pdf"] = Service{
633601
Image: utils.Str("ghcr.io/utmstack/utmstack/web-pdf:" + conf.Branch),

installer/types/stack.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ var Services = []utils.ServiceConfig{
3939
{Name: "socai", Priority: 3, MinMemory: 30, MaxMemory: 512},
4040
{Name: "bitdefender", Priority: 3, MinMemory: 30, MaxMemory: 100},
4141
{Name: "office365", Priority: 3, MinMemory: 30, MaxMemory: 100},
42-
{Name: "threadwinds-ingestion", Priority: 3, MinMemory: 50, MaxMemory: 256},
4342
}
4443

4544
func (s *StackConfig) Populate(c *Config) error {

0 commit comments

Comments
 (0)