-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.template
More file actions
36 lines (30 loc) · 1.22 KB
/
.env.template
File metadata and controls
36 lines (30 loc) · 1.22 KB
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
# =======================
# Copy this file into .env and fill it in
# In production, set the appropriate environment variables on impaas (see README)
# =======================
# Login details for postgres database
# Replace "postgres:postgres" with "<username>:<password>"
# And cpp-connect with the name of the database you are using
DATABASE_URL="postgresql://user:pass@localhost:5432/cppconnect"
# Root dir to store uploaded files
# If you choose to change this environment variable, add the chosen directory to the .tsuruignore file
UPLOAD_DIR=./uploads
# MS Entra SSO details
MS_ENTRA_CLIENT_ID=
MS_ENTRA_CLIENT_SECRET=
MS_ENTRA_TENANT_ID=
# Secret for generated auth token
NEXTAUTH_URL="https://cpp-connect.impaas.uk"
AUTH_SECRET= # Run `npx auth secret`. Read more: https://cli.authjs.dev
# Comma-separated list of admins. By default, these users receive the admin role on SSO login
# MUST be the full email in the below format
CPP_ALLOWED_ADMINS="kishan.sambhi22@imperial.ac.uk,matthew.alex23@imperial.ac.uk"
# SMTP server for magic links
EMAIL_SERVER_HOST="smtp.azurecomm.net"
EMAIL_SERVER_PORT=587
EMAIL_SERVER_USER=""
EMAIL_SERVER_PASSWORD=""
EMAIL_FROM=""
ABC_API="https://abc-api.doc.ic.ac.uk"
API_ROLE_USERNAME=
API_ROLE_PASSWORD=