-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.env
45 lines (45 loc) · 1.86 KB
/
example.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
EMAIL_SERVER_HOST="foo.bar.xyz"
EMAIL_SERVER_PASSWORD="password123"
EMAIL_SERVER_PORT="465"
EMAIL_SERVER_USER="[email protected]"
# Run `openssl rand -base64 32` to get a secure secret.
NEXTAUTH_SECRET=123456
NEXTAUTH_URL=https://A_REAL_DOMAIN_NAME
# Optional. Defaults to "." if left unset.
# You will need this on Docker/cloud native apps where
# you are required to attach storage volumes.
DATA_DIR=/data
# OpenAI API Key. You will need to sign up for an account and enter
# payment details.
OPENAI_API_KEY="Find this at https://platform.openai.com/account/api-keys"
# The name of your project in Google Cloud.
GOOGLE_CLOUD_PROJECT=my-gcs-project-change-this
# docker run -d \
# -e POSTGRES_USER=prisma \
# -e POSTGRES_PASSWORD=your_password \
# -e POSTGRES_DB=prisma_dev \
# -v ${PWD}/db:/var/lib/postgresql/data \
# -p 5432:5432 \
# postgres
POSTGRES_URI="postgres://prisma:your_password@localhost:5432/prisma_dev?schema=public"
# This is the path to the JSON file you downloaded from Google Cloud
# Learn more at
# https://cloud.google.com/docs/authentication/application-default-credentials#GAC
GOOGLE_APPLICATION_CREDENTIALS=key.json
# If you are running the app in prod, you can alternatively store
# The JSON and a literal value:
GCP_JSON_CREDS='{"foo": "bar"}'
GCS_BUCKET_NAME="where-to-store-binary-stuff"
# Running this app is expensive. Set this ENV if
# (and only if!) you want to stop new users from using the
# app. This is a good way to keep costs down.
# A secret that you can share with a Prometheus server.
# Keeps your /metrics endpoint private.
# https://prometheus.io/docs/guides/basic-auth/
PROMETHEUS_SECRET=password123
# Put your preferred GPT model here.
# This is often used for selecting a fine tuned model.
# Default value is GPT-4O if not set (not great).
GPT_MODEL="ft:gpt-3.5-turbo-1106:foo:bar:baz"