Skip to content

Commit

Permalink
Merge branch 'main' into feat/selfhost
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes authored Oct 30, 2024
2 parents fe4700c + 63d7bb2 commit b4f3cbb
Show file tree
Hide file tree
Showing 20 changed files with 34 additions and 879 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**/.DS_Store

.env.local
.env.*.local
node_modules
Expand Down
24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,30 @@
# Use an official Node runtime as the base image
FROM node:18-alpine


ARG NEXT_PUBLIC_SSO_DOMAIN
ARG NEXT_PUBLIC_SUPABASE_URL
ARG NEXT_PUBLIC_SUPABASE_ANON_KEY
ARG NEXT_PUBLIC_SITE_URL
ARG SUPABASE_SERVICE_ROLE_KEY
ARG SUPABASE_DATABASE_PASSWORD
ARG SUPABASE_JWT_SECRET
ARG SUPABASE_PROJECT_REF
ARG GITHUB_PROXY_CALLBACK_URL
ARG DIGGER_WEBHOOK_SECRET
ARG DIGGER_TRIGGER_APPLY_URL
ENV NEXT_PUBLIC_SSO_DOMAIN=$NEXT_PUBLIC_SSO_DOMAIN
ENV NEXT_PUBLIC_SUPABASE_URL=$NEXT_PUBLIC_SUPABASE_URL
ENV NEXT_PUBLIC_SUPABASE_ANON_KEY=$NEXT_PUBLIC_SUPABASE_ANON_KEY
ENV NEXT_PUBLIC_SITE_URL=$NEXT_PUBLIC_SITE_URL
ENV SUPABASE_SERVICE_ROLE_KEY=${SUPABASE_SERVICE_ROLE_KEY}
ENV SUPABASE_DATABASE_PASSWORD=${SUPABASE_DATABASE_PASSWORD}
ENV SUPABASE_JWT_SECRET=${SUPABASE_JWT_SECRET}
ENV SUPABASE_PROJECT_REF=${SUPABASE_PROJECT_REF}
ENV GITHUB_PROXY_CALLBACK_URL=${GITHUB_PROXY_CALLBACK_URL}
ENV DIGGER_WEBHOOK_SECRET=${DIGGER_WEBHOOK_SECRET}
ENV DIGGER_TRIGGER_APPLY_URL=${DIGGER_TRIGGER_APPLY_URL}

# Install pnpm
RUN npm install -g pnpm

Expand Down
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
# Nextbase

Nextbase Ultimate is a simple, fast, and secure way to build and deploy your next web application. It's built on top of [Next.js](https://nextjs.org/), [React](https://reactjs.org/), and [Supabase](https://supabase.com/). It is fully typed and uses [TypeScript](https://www.typescriptlang.org/), which means you can build your app with confidence.

## Developing and deployment instructions

Please checkout the documentation site [here](https://usenextbase.com/docs).

Thanks!
# Digger next ui
Binary file removed src/.DS_Store
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

13 changes: 0 additions & 13 deletions src/app/api/chat/route.ts

This file was deleted.

1 change: 1 addition & 0 deletions src/app/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export async function GET(request: NextRequest) {
/*
export async function GET() {
const supabase = createSupabaseUserRouteHandlerClient();
const {
Expand Down
98 changes: 0 additions & 98 deletions src/components/chat-container.tsx

This file was deleted.

97 changes: 0 additions & 97 deletions src/components/chat-history.tsx

This file was deleted.

30 changes: 0 additions & 30 deletions src/components/chat-list.tsx

This file was deleted.

40 changes: 0 additions & 40 deletions src/components/chat-message-actions.tsx

This file was deleted.

Loading

0 comments on commit b4f3cbb

Please sign in to comment.