-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
49 lines (35 loc) · 1.18 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# alternative 2 - put all env vars into one .env file and forward through docker-compose.yml
# ----------------------------------
# client container
REACT_APP_BASE_URL=https://mern-boilerplate.amd2.localhost3002.live
# ----------------------------------
# traefik var
SITE_HOSTNAME=mern-boilerplate.amd2.localhost3002.live
# ----------------------------------
# mongo db container
MONGO_INITDB_DATABASE=
MONGO_INITDB_ROOT_USERNAME=
MONGO_INITDB_ROOT_PASSWORD=
# --------------------------------
# server container
#db
MONGO_URI_DEV=mongodb://localhost:27017/mernboilerplate
# format: mongodb://user:[email protected]/database
MONGO_URI_PROD=mongodb://${MONGO_INITDB_ROOT_USERNAME}:${MONGO_INITDB_ROOT_PASSWORD}@mdp-mongo/${MONGO_INITDB_DATABASE}
#google
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URL=/auth/google/callback
#facebook
FACEBOOK_APP_ID=
FACEBOOK_SECRET=
FACEBOOK_CALLBACK_URL=/auth/facebook/callback
#jwt
JWT_SECRET_DEV=secret
JWT_SECRET_PROD=
#site urls
CLIENT_URL_DEV=https://localhost:3000
SERVER_URL_DEV=https://localhost:5000
CLIENT_URL_PROD=https://mern-boilerplate.amd2.localhost3002.live
SERVER_URL_PROD=https://mern-boilerplate.amd2.localhost3002.live
PORT=80