diff --git a/.env.example b/.env.example index ec478cb..f21768a 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,13 @@ +# Since the ".env" file is gitignored, you can use the ".env.example" file to +# build a new ".env" file when you clone the repo. Keep this file up-to-date +# when you add new variables to `.env`. + +# This file will be committed to version control, so make sure not to have any +# secrets in it. If you are cloning this repo, create a copy of this file named +# ".env" and populate it with your secrets. + +# When adding additional environment variables, the schema in "/src/env.mjs" +# should be updated accordingly. ## Node NODE_ENV=development @@ -12,29 +22,31 @@ POSTGRES_USER=postgres POSTGRES_PASSWORD=password POSTGRES_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5432/db?schema=public" + MONGO_USER=root MONGO_PASSWORD=password +# MONGO_URL="mongodb://${MONGO_USER}:${MONGO_PASSWORD}@localhost:27017/db?authSource=admin" MONGO_URL="mongodb://localhost:27017/db" # Next Auth # You can generate a new secret on the command line with: # openssl rand -base64 32 # https://next-auth.js.org/configuration/options#secret -NEXTAUTH_SECRET=EXAMPLE_NEXTAUTH_SEC +NEXTAUTH_SECRET=NEXTAUTH_SECRET +NEXT_AUTH_SECRET=EXAMPLE_JWT_SECRET NEXTAUTH_URL="http://localhost:${PORT}" -S3_ENDPOINT="http://localhost:9000" - - -# JUDGE0 +# Judge0 J0_URL="http://localhost:2358" -S3_BUCKET_NAME=some -# Next auth secret -NEXT_AUTH_SECRET=sample -# Github OAuth Provider -GITHUB_ID=sample -GITHUB_SECRET=sample +# S3 +S3_ENDPOINT="http://localhost:9000" +S3_BUCKET_NAME=s3 +# Github OAuth Provider +GITHUB_ID=EXAMPLE_GITHUB_ID +GITHUB_SECRET=EXAMPLE_GITHUB_SECRET +# OpenAI +OPENAI_API_KEY=EXAMPLE_OPENAI_ID