Skip to content

Commit 63ecb2d

Browse files
committed
Copilot comments
1 parent 0c355e7 commit 63ecb2d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

tools/sdp-setup/internal/docker/service.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func (s *Service) prepareHTTPS() error {
108108
}
109109
}
110110

111-
return fmt.Errorf("https selected but TLS certs are missing; expected dev/certs/stellar.local.pem and dev/certs/stellar.local-key.pem (generate with mkcert; see dev/README.md)")
111+
return fmt.Errorf("HTTPS selected but TLS certs are missing; expected dev/certs/stellar.local.pem and dev/certs/stellar.local-key.pem (generate with mkcert; see dev/README.md)")
112112
}
113113

114114
// composeDown runs 'docker compose down' with the given config.
@@ -117,8 +117,9 @@ func (s *Service) composeDown(ctx context.Context) error {
117117

118118
args := []string{"compose", "-p", s.cfg.DockerProject}
119119
args = append(args, "--env-file", s.cfg.EnvFilePath)
120-
args = append(args, "-f", "docker-compose.yml")
121-
args = append(args, "-f", "docker-compose-https-frontend.yml")
120+
for _, file := range s.files {
121+
args = append(args, "-f", file)
122+
}
122123
args = append(args, "down")
123124
args = append(args, "--remove-orphans")
124125

tools/sdp-setup/internal/workflow/setup_workflow.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ func selectHTTPSMode() bool {
265265
useHTTPS := strings.HasPrefix(choice, "HTTPS")
266266
if useHTTPS {
267267
fmt.Println("✅ HTTPS mode selected")
268-
fmt.Println(" The dashboard will run over https on port 3443")
268+
fmt.Println(" The dashboard will run over HTTPS on port 3443")
269269
} else {
270270
fmt.Println("✅ HTTP mode selected")
271-
fmt.Println(" The dashboard will run over http on port 3000")
271+
fmt.Println(" The dashboard will run over HTTP on port 3000")
272272
}
273273
fmt.Println()
274274

0 commit comments

Comments
 (0)