Skip to content

Commit

Permalink
Merge branch 'docker-test' into deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabau authored Nov 12, 2023
2 parents 400735f + 0e13522 commit a259c7e
Showing 1 changed file with 23 additions and 11 deletions.
34 changes: 23 additions & 11 deletions .env.example
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit a259c7e

Please sign in to comment.