-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathenv.sample
36 lines (31 loc) · 890 Bytes
/
env.sample
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
'''
This is a sample .env file for use in local development.
Duplicate this file as .env in the root of the project
and update the environment variables to match your
desired config
'''
# Database credentials
PG_HOST=localhost
PG_PORT=5432
PG_USER=myuser
PG_PASSWORD=mypassword
PG_DB=mydatabase
# Token Generation
TOKEN_EXPIRES_IN=60m
TOKEN_MAXAGE=60
TOKEN_SECRET=my-json-web-token-string
# Email Sending Config
CLIENT_ORIGIN=http://localhost:8080
SMTP_HOST=your.smtp.host
SMTP_USER=2345678909
SMTP_PASS=8765456789
SMTP_PORT=587
# Google OAuth Config
GOOGLE_OAUTH_CLIENT_ID=<your-GOOGLE_OAUTH_CLIENT_ID>
GOOGLE_OAUTH_CLIENT_SECRET=<your-GOOGLE_OAUTH_CLIENT_SECRET>
GOOGLE_OAUTH_REDIRECT_URL=http://localhost:8000/api/sessions/oauth/google
# REDIS Config
REDISHOST=<your-redis-host/address>
REDISPASSWORD=<your-redis-password>
REDISDATABASE=<your-redis-index>