forked from chartbrew/chartbrew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env-template
104 lines (79 loc) · 2.81 KB
/
.env-template
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#### PRODUCTION VARS ####
### Database connection parameters
CB_DB_NAME=chartbrew
CB_DB_USERNAME=
CB_DB_PASSWORD=
CB_DB_HOST=localhost
CB_DB_PORT=3306
# set to 'mysql' or 'postgres'
CB_DB_DIALECT=mysql
### A secret string which will be used to encrypt your data
CB_SECRET=change_to_random_string
### The API host string used on the server app
CB_API_HOST=localhost
CB_API_PORT=4019
### Used in the client app
# The address where the front-end app sits
REACT_APP_CLIENT_HOST=http://localhost:4018
# The address where the backend API sits
REACT_APP_API_HOST=http://localhost:4019
# Email connection parameters for sending team signup invites and forgot password emails
CB_MAIL_HOST=smtp.gmail.com
CB_MAIL_USER=
CB_MAIL_PASS=
CB_MAIL_PORT=465
CB_MAIL_SECURE=true
# The admin email from which all the emails are delivered
CB_ADMIN_MAIL=hello@example.com
# Restrict users from having their own team
# 0 - users will have their own team
# 1 - users can only be part of teams they are invited to
CB_RESTRICT_TEAMS=0
# Restrict users from creating their own accounts unless invited
# 0 - users can create their own accounts
# 1 - users can only create accounts with invite links
CB_RESTRICT_SIGNUP=0
# Google cloud client ID information (To enable Google integrations)
CB_GOOGLE_CLIENT_ID=
CB_GOOGLE_CLIENT_SECRET=
########################################
#### DEVELOPMENT VARS ####
# Database connection parameters
CB_DB_NAME_DEV=chartbrewdev
CB_DB_USERNAME_DEV=root
CB_DB_PASSWORD_DEV=
CB_DB_HOST_DEV=localhost
CB_DB_PORT_DEV=3306
# set to 'mysql' or 'postgres'
CB_DB_DIALECT_DEV=mysql
# A secret string which will be used to encrypt your data
CB_SECRET_DEV=change_to_random_string
# The API host string used on the server app
CB_API_HOST_DEV=localhost
CB_API_PORT_DEV=4019
# Used in the client app
REACT_APP_CLIENT_HOST_DEV=http://localhost:4018
REACT_APP_API_HOST_DEV=http://localhost:4019
# Email connection parameters for sending team signup invites and forgot password emails
CB_MAIL_HOST_DEV=smtp.gmail.com
CB_MAIL_USER_DEV=
CB_MAIL_PASS_DEV=
CB_MAIL_PORT_DEV=465
CB_MAIL_SECURE_DEV=true
# The admin email from which all the emails are delivered
CB_ADMIN_MAIL_DEV=hello@example.com
# Restrict users from having their own team
# 0 - users will have their own team
# 1 - users can only be part of teams they are invited to
CB_RESTRICT_TEAMS_DEV=0
# Restrict users from creating their own accounts unless invited
# 0 - users can create their own accounts
# 1 - users can only create accounts with invite links
CB_RESTRICT_SIGNUP_DEV=0
# Google cloud client ID information (To enable Google integrations)
CB_GOOGLE_CLIENT_ID_DEV=
CB_GOOGLE_CLIENT_SECRET_DEV=
########################################
# Set this to your One account app's externalId to enable One account integration
REACT_APP_ONE_ACCOUNT_EXTERNAL_ID=
########################################