Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions internal/start/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ func Run(ctx context.Context, fsys afero.Fs, excludedContainers []string, ignore

fmt.Fprintf(os.Stderr, "Started %s local development setup.\n\n", utils.Aqua("supabase"))
status.PrettyPrint(os.Stdout, excludedContainers...)
printSecurityNotice()
return nil
}

Expand Down Expand Up @@ -1325,3 +1326,11 @@ func formatMapForEnvConfig(input map[string]string, output *bytes.Buffer) {
}
}
}

func printSecurityNotice() {
fmt.Fprintln(os.Stderr, utils.Yellow("Local dev security notice"))
fmt.Fprintln(os.Stderr, "All services bind to 0.0.0.0 (network-accessible, not just localhost)")
fmt.Fprintln(os.Stderr, "API keys and JWT secrets are shared defaults. Do not use in production")
fmt.Fprintln(os.Stderr, "Studio, pgMeta (/pg/*), and analytics have no authentication")
fmt.Fprintln(os.Stderr)
}
Loading