diff --git a/.env.example b/.env.example index 05cd9cf..3a31334 100644 --- a/.env.example +++ b/.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 # 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) 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_PATH="/clangd" -# Added by `npx auth secret` -AUTH_SECRET="New Generated Secret" +# Secret key for authentication (generate a secure value) +AUTH_SECRET="your_auth_secret" -# # GitHub OAuth client ID and GitHub OAuth client secret -AUTH_GITHUB_ID="" -AUTH_GITHUB_SECRET="" +# GitHub OAuth client ID and GitHub OAuth client secret +AUTH_GITHUB_ID="your_github_client_id" +AUTH_GITHUB_SECRET="your_github_client_secret" # The base URL for authentication callbacks, typically the root URL of your application AUTH_URL="http://localhost:3000"