-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathenv_example
30 lines (18 loc) · 1.04 KB
/
env_example
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
POSTGRES_USER="insert postgres user"
POSTGRES_PASSWORD="insert postgres passwd"
POSTGRES_DB="insert postgres database name"
# server variables
PORT="api port"
EXTERNAL_URL="insert external Url"
CLIENT_URL="insert front end Url"
CLIENTUID="42 network clientuid"
CLIENTSECRET="42 network clientsecret"
LOOPBACKURL=${EXTERNAL_URL}:${PORT}/auth/42/callback
SECRET='the secret to incrypt the Auth user'
# This was inserted by `prisma init`:
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
DATABASE_URL="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?schema=public"
# check client/Frontend/env_deployment_example for the front end env example