Skip to content

Commit

Permalink
chore: update #141
Browse files Browse the repository at this point in the history
  • Loading branch information
HMarzban committed Aug 20, 2024
1 parent 6702c68 commit deb693b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
17 changes: 9 additions & 8 deletions packages/hocuspocus.server/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ PG_HOST=localhost
# change allowed origins to your domain
ALLOWED_ORIGINS=localhost,docs.plus

# Digital Ocean Spaces Configuration
DO_STORAGE_ENDPOINT=your-digital-ocean-spaces-endpoint
DO_STORAGE_REGION=your-digital-ocean-spaces-region
DO_STORAGE_ACCESS_KEY_ID=your-digital-ocean-spaces-access-key
DO_STORAGE_SECRET_ACCESS_KEY=your-digital-ocean-spaces-secret-access-key
DO_STORAGE_BUCKET=your-digital-ocean-spaces-bucket
DO_STORAGE_MAX_FILE_SIZE=your-digital-ocean-spaces-max-file-size
# Configuration for DigitalOcean Spaces, AWS S3, or any S3-compatible storage services
DO_STORAGE_ENDPOINT=your-endpoint
DO_STORAGE_REGION=your-region
DO_STORAGE_ACCESS_KEY_ID=your-access-key
DO_STORAGE_SECRET_ACCESS_KEY=your-secret-access-key
DO_STORAGE_BUCKET=your-bucket
DO_STORAGE_MAX_FILE_SIZE=your-max-file-size

## Supabase Configuration
# Supabase Configuration: Required for Auth and Realtime features (like chat).
# If you're only using docsplus for the editor, you can ignore this.
SUPABASE_ANON_KEY=your-supabase-anon-key
SUPABASE_URL=your-supabase-url
3 changes: 3 additions & 0 deletions packages/supabase/.env.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Google Social Login
# For more information, visit: https://supabase.com/docs/guides/auth/social-login
# Check the config.toml file in the root of the project for additional social login parameters.
GOOGLE_CLIENT_ID=YOUR_GOOGLE_CLIENT_ID
GOOGLE_SECRET=YOUR_GOOGLE_SECRET
18 changes: 8 additions & 10 deletions packages/webapp/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ NEXT_PUBLIC_PROVIDER_URL='ws://localhost:1234'
NEXT_PUBLIC_RESTAPI_URL='http://localhost:2300/api'
NEXT_PUBLIC_SSE_URL='http://localhost:2300/sse'

# replace this with your Tiptap Pro token, if you want to install tiptap pro extension
# Replace this with your Tiptap Pro token if you want to install Tiptap Pro extensions.
# For more information, visit: https://tiptap.dev/docs/editor/extensions/overview?filter=pro
TIPTAP_PRO_TOKEN=YOUR_TIPTAP_PRO_TOKEN

# replace this with your Supabase anon key
NEXT_PUBLIC_SUPABASE_ANON_KEY=YOUR_SUPABASE_ANON_KEY

NEXT_PUBLIC_SUPABASE_URL=http://localhost:54321
NEXT_PUBLIC_SUPABASE_WS_URL=ws://localhost:54321
NEXT_PUBLIC_AUTH_REDIRECT_TO=http://localhost:3000/auth/callback

NEXT_PUBLIC_SPACES_KEY=
NEXT_PUBLIC_SPACES_SECRET=
# Replace this with your Supabase anon key.
# Leave it empty if you don't want to use Auth and Realtime features (like chat).
NEXT_PUBLIC_SUPABASE_ANON_KEY= #YOUR_SUPABASE_ANON_KEY
NEXT_PUBLIC_SUPABASE_URL= #http://localhost:54321
NEXT_PUBLIC_SUPABASE_WS_URL= #ws://localhost:54321
NEXT_PUBLIC_AUTH_REDIRECT_TO= #http://localhost:3000/auth/callback

0 comments on commit deb693b

Please sign in to comment.