mirror of
https://github.com/supabase/supabase.git
synced 2026-05-08 01:40:13 -04:00
4a0bb36ca8
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
57 lines
1.8 KiB
TypeScript
57 lines
1.8 KiB
TypeScript
import { Card, CardContent, CardHeader } from 'ui'
|
|
|
|
import { DocsButton } from '@/components/ui/DocsButton'
|
|
import { DOCS_URL } from '@/lib/constants'
|
|
|
|
export function SettingsDatabaseEmptyStateLocal() {
|
|
return (
|
|
<>
|
|
<Card>
|
|
<CardHeader className="flex-row items-center justify-between">
|
|
Local development & CLI
|
|
<div className="flex items-center gap-x-2">
|
|
<DocsButton href={`${DOCS_URL}/guides/local-development/cli/config#database-config`} />
|
|
</div>
|
|
</CardHeader>
|
|
<CardContent>
|
|
<p className="prose [&>code]:text-xs text-sm max-w-full">
|
|
Change settings in <code>supabase/config.toml</code> file, which is automatically loaded
|
|
on <code>supabase start</code>
|
|
</p>
|
|
</CardContent>
|
|
</Card>
|
|
|
|
<Card>
|
|
<CardHeader className="flex-row items-center justify-between">
|
|
Self-Hosted Supabase
|
|
<div className="flex items-center gap-x-2">
|
|
<DocsButton
|
|
href={`${DOCS_URL}/guides/self-hosting/docker#configuring-and-securing-supabase`}
|
|
/>
|
|
</div>
|
|
</CardHeader>
|
|
<CardContent>
|
|
<p className="prose [&>code]:text-xs space-x-1 text-sm max-w-full">
|
|
<span>Change settings in</span>
|
|
<a
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
href="https://github.com/supabase/supabase/blob/master/docker/.env.example"
|
|
>
|
|
.env file
|
|
</a>
|
|
<span>and</span>
|
|
<a
|
|
target="_blank"
|
|
rel="noopener noreferrer"
|
|
href="https://github.com/supabase/supabase/blob/master/docker/docker-compose.yml"
|
|
>
|
|
docker-compose.yml
|
|
</a>
|
|
</p>
|
|
</CardContent>
|
|
</Card>
|
|
</>
|
|
)
|
|
}
|