-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
18 lines (16 loc) · 978 Bytes
/
.env.example
File metadata and controls
18 lines (16 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
URL_ORIGIN=http://localhost:4000
SESSION_SECRET=enter_your_session_secret_here
DIRECT_AUTH_SECRET=enter_your_direct_auth_secret_here
INTRA_API_UID=enter_your_uid_here
INTRA_API_SECRET=enter_your_secret_here
INTRA_CAMPUS_ID=14
INTRA_PISCINE_ASSISTANT_GROUP_ID=68
POSTGRES_USER=enter_a_postgres_user_here
POSTGRES_PASSWORD=enter_a_postgres_password_here
POSTGRES_DB=hero
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 "codamhero-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@codamhero-postgres:5432/hero