forked from joshsoftware/peerly-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
32 lines (23 loc) · 963 Bytes
/
.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
31
32
APP_NAME=peerly
APP_PORT=33001
# Postgres
DB_URI=postgresql://user:password@localhost:5432/dbname?sslmode=disable
# JWT_SECRET
JWT_SECRET=your_jwt_secret
# Google OAuth
GOOGLE_KEY=Get_me_from_https://console.developers.google.com/apis/credentials
GOOGLE_SECRET=Get_me_from_https://console.developers.google.com/apis/credentials
GOOGLE_REDIRECT=http://localhost:33001/auth/google
# Migrations Path Configuration
MIGRATION_FOLDER_PATH=./internal/repository/migrations
# How long should the JWT key be valid for?
# TODO: Make app crash if not present
JWT_EXPIRY_DURATION_HOURS=672
#Intranet client code
INTRANET_CLIENT_CODE = peerly_client
INTRANET_AUTH_TOKEN = eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjo2fQ.XaYo0qdBCdDh1-nEeuUSdTbtp0enWFIySKnw-oQpTBg
PEERLY_BASE_URL = http://localhost:33001
INTRANET_BASE_URL = https://pg-stage-intranet.joshsoftware.com
SENDGRID_API_KEY=sendgrid_api_key
SENDER_EMAIL=sendgrid_email
DEVELOPER_KEY = developer_key