Skip to content

Commit feea1a7

Browse files
committed
fix: bind minio console to correct internal port
1 parent 9497f52 commit feea1a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/run/minio.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (m *MinioServer) Start() error {
8181

8282
cc := &container.Config{
8383
Image: minioImage,
84-
Cmd: []string{"minio", "server", "/nitric/buckets", "--console-address", fmt.Sprintf(":%d", consolePort)},
84+
Cmd: []string{"minio", "server", "/nitric/buckets", "--console-address", fmt.Sprintf(":%d", minioConsolePort)},
8585
ExposedPorts: nat.PortSet{
8686
nat.Port(fmt.Sprintf("%d/tcp", minioPort)): struct{}{},
8787
nat.Port(fmt.Sprintf("%d/tcp", minioConsolePort)): struct{}{},

0 commit comments

Comments
 (0)