mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
docs(env): add PostgreSQL credentials, update DATABASE_URL format, and improve placeholders and comments
This commit is contained in:
parent
34266de048
commit
a399f0c2d5
17
.env.example
17
.env.example
@ -1,6 +1,11 @@
|
|||||||
|
# PostgreSQL database credentials
|
||||||
|
POSTGRES_USER="your_postgres_user"
|
||||||
|
POSTGRES_PASSWORD="your_postgres_password"
|
||||||
|
POSTGRES_DB="your_postgres_db"
|
||||||
|
|
||||||
# The connection string for the PostgreSQL database
|
# The connection string for the PostgreSQL database
|
||||||
# Format: postgresql://username:password@hostname:port/database_name?schema=public
|
# Format: postgresql://username:password@hostname:port/database_name?schema=public
|
||||||
DATABASE_URL="postgresql://username:password@localhost:5432/mydb?schema=public"
|
DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?schema=public"
|
||||||
|
|
||||||
# WebSocket URL for the LSP service (C Language - clangd)
|
# WebSocket URL for the LSP service (C Language - clangd)
|
||||||
NEXT_PUBLIC_LSP_C_PROTOCOL="ws"
|
NEXT_PUBLIC_LSP_C_PROTOCOL="ws"
|
||||||
@ -14,12 +19,12 @@ NEXT_PUBLIC_LSP_CPP_HOSTNAME="localhost"
|
|||||||
NEXT_PUBLIC_LSP_CPP_PORT="4595"
|
NEXT_PUBLIC_LSP_CPP_PORT="4595"
|
||||||
NEXT_PUBLIC_LSP_CPP_PATH="/clangd"
|
NEXT_PUBLIC_LSP_CPP_PATH="/clangd"
|
||||||
|
|
||||||
# Added by `npx auth secret`
|
# Secret key for authentication (generate a secure value)
|
||||||
AUTH_SECRET="New Generated Secret"
|
AUTH_SECRET="your_auth_secret"
|
||||||
|
|
||||||
# # GitHub OAuth client ID and GitHub OAuth client secret
|
# GitHub OAuth client ID and GitHub OAuth client secret
|
||||||
AUTH_GITHUB_ID=""
|
AUTH_GITHUB_ID="your_github_client_id"
|
||||||
AUTH_GITHUB_SECRET=""
|
AUTH_GITHUB_SECRET="your_github_client_secret"
|
||||||
|
|
||||||
# The base URL for authentication callbacks, typically the root URL of your application
|
# The base URL for authentication callbacks, typically the root URL of your application
|
||||||
AUTH_URL="http://localhost:3000"
|
AUTH_URL="http://localhost:3000"
|
||||||
|
Loading…
Reference in New Issue
Block a user