-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
19 lines (17 loc) · 981 Bytes
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
NODE_ENV=production
URL_ORIGIN=http://localhost:4000
SESSION_SECRET=enter_your_session_secret_here
INTRA_API_UID=enter_your_uid_here
INTRA_API_SECRET=enter_your_secret_here
INTRA_CAMPUS_ID=14
INTRA_CURSUS_ID=21
INTRA_TEST_ACCOUNTS=karthur,ctest,moretestinglogins
POSTGRES_USER=enter_a_postgres_user_here
POSTGRES_PASSWORD=enter_a_postgres_password_here
POSTGRES_DB=coal
POSTGRES_HOST=localhost
# Below environment variable is used by Prisma to connect to the database
# It should be in the format: postgresql://<POSTGRES_USER>:<POSTGRES_PASSWORD>@<POSTGRES_HOST>:5432/<POSTGRES_DB>
# In DEVELOPMENT MODE when not using Docker to run the NodeJS code, POSTGRES_HOST should be "localhost",
# while in PRODUCTION MODE, when Docker is used to run the NodeJS code, POSTGRES_HOST should be "codam-coal-postgres" (the name of the postgres container in docker-compose.yml)
PRISMA_DB_URL=postgresql://enter_a_postgres_user_here:enter_a_postgres_password_here@codam-coal-postgres:5432/coal