-
-
Notifications
You must be signed in to change notification settings - Fork 419
Expand file tree
/
Copy path.env-template
More file actions
162 lines (132 loc) · 4.48 KB
/
.env-template
File metadata and controls
162 lines (132 loc) · 4.48 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
#### PRODUCTION VARS ####
### Database connection parameters
CB_DB_NAME=chartbrew
CB_DB_USERNAME=
CB_DB_PASSWORD=
CB_DB_HOST=localhost
CB_DB_PORT=3306
CB_DB_CERT=
CB_DB_SSL=
CB_DB_SSL_KEY=
CB_DB_SSL_CERT=
# set to 'mysql' or 'postgres'
CB_DB_DIALECT=mysql
# Redis connection parameters
CB_REDIS_HOST=localhost
CB_REDIS_PORT=6379
CB_REDIS_PASSWORD=
# Optional runtime-cache specific Redis overrides. If unset, runtime cache falls back to CB_REDIS_*.
# CB_RUNTIME_REDIS_HOST=
# CB_RUNTIME_REDIS_PORT=
# CB_RUNTIME_REDIS_PASSWORD=
# CB_RUNTIME_REDIS_DB=
# CB_RUNTIME_REDIS_CA=
# CB_RUNTIME_REDIS_CLUSTER_NODES=
# CB_RUNTIME_CACHE_DEBUG=false
### A secret string which will be used to encrypt your data
# [deprecated] This is not used anymore, but it's kept here for legacy reasons
CB_SECRET=change_to_random_string
## The new secret key used for encrypting data
CB_ENCRYPTION_KEY=
### The API host string used on the server app
# Set this to 0.0.0.0 when using docker AND proxying it through apache or nginx
CB_API_HOST=localhost
CB_API_PORT=4019
### Used in the client app
# The address where the front-end app sits and port
VITE_APP_CLIENT_HOST=http://localhost:4018
VITE_APP_CLIENT_PORT=4018
# The address where the backend API sits
VITE_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=
# OpenAI API key
CB_OPENAI_API_KEY=
CB_OPENAI_MODEL=gpt-5.4-mini
## Slack integration
# The client ID of the Slack app is used in both server and client apps
VITE_APP_SLACK_CLIENT_ID=
CB_SLACK_CLIENT_SECRET=
CB_SLACK_SIGNING_SECRET=
# Private network flag
CB_ALLOW_PRIVATE_NETWORK_CALLS=false
########################################
#### 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
CB_DB_CERT_DEV=
CB_DB_SSL_DEV=
CB_DB_SSL_KEY_DEV=
CB_DB_SSL_CERT_DEV=
# set to 'mysql' or 'postgres'
CB_DB_DIALECT_DEV=mysql
# Redis connection parameters
CB_REDIS_HOST_DEV=localhost
CB_REDIS_PORT_DEV=6379
CB_REDIS_PASSWORD_DEV=
# Optional runtime-cache specific Redis overrides. If unset, runtime cache falls back to CB_REDIS_*_DEV.
# CB_RUNTIME_REDIS_HOST_DEV=
# CB_RUNTIME_REDIS_PORT_DEV=
# CB_RUNTIME_REDIS_PASSWORD_DEV=
# CB_RUNTIME_REDIS_DB_DEV=
# CB_RUNTIME_REDIS_CA_DEV=
# CB_RUNTIME_REDIS_CLUSTER_NODES_DEV=
# CB_RUNTIME_CACHE_DEBUG_DEV=false
# A secret string which will be used to encrypt your data
# [deprecated] This is not used anymore, but it's kept here for legacy reasons
CB_SECRET_DEV=change_to_random_string
# The new secret key used for encrypting data
CB_ENCRYPTION_KEY_DEV=
# The API host string used on the server app
CB_API_HOST_DEV=localhost
CB_API_PORT_DEV=4019
# Used in the client app
VITE_APP_CLIENT_HOST_DEV=http://localhost:4018
VITE_APP_CLIENT_PORT_DEV=4018
VITE_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=
# OpenAI API key
CB_OPENAI_API_KEY_DEV=
CB_OPENAI_MODEL_DEV=gpt-5.4-mini
# Slack Integration backend redirect host (useful when using ngrok or other tunneling services)
CB_SLACK_REDIRECT_HOST_DEV=
########################################