-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
148 lines (123 loc) · 3.63 KB
/
.env
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
# # Local Hosting Port
# <<----------------------->>
PORT=3330
NODE_ENV=dev
NODE_VERSION=node:22.6 # Node version for docker container
FILE_UP_DOWN=y # Enable file uploading to S3 storage.
# # App main socket room
# <<----------------------->>
APP_NAME=App.IO
APP_URL=https://app.io # application URL when using https# AWS_ACCESS_KEY_ID=
APP_MAIN_SOCKET_ROOM=App_io_main # The main room for all verified socket connections.
APP_CONTAINER_NAME=app_io # Use ONLY lowercase characters here
APP_SOCKET_NAME=appio # Use ONLY lowercase characters here
# # Cluster Size
CLUSTER_SIZE=15 # Cluster size for deployment
# # FormData Accepted Files
# <<----------------------->>
FILE_TYPES=profileImage,document,image
IMAGES_ONLY=profileImage,image
# # JWT Salt for encryption
# <<----------------------->>
SALT=wQYuq2XACHWxkOfH3YhO1gRw4z668m8Ma63Qq5GfDC6MWlGNPBL2rXe1bQO3CHJOOLFWceqnfRz2mhvZz6fztKRAPNBcUhSEjZnwtp7yRAckHMj97GBe8Rkk
# # Cookie secret
# <<----------------------->>
COOKIE_SECRET=RANDOM_STRING_HERE
# # Token Expiry in Hours
# <<----------------------->>
JWT_TOKEN_EXPIRE=2160
# # AWS SES
# <<----------------------->>
NODE_ENV=dev
[email protected] # email used when sending an email
EMAIL_SHORT_NAME=App.IO # This is name That is shown when an Email is received
# AWS_SECRET_ACCESS_KEY=
# AWS_REGION=us-east-1
# AWS_SES_SEND_LIMIT_PER_SEC=10
# AWS_SES_QUEUE_WAIT_TIME=1000
# # Setting
# <<----------------------->>
# COOKIES_SECURE=
# # CLickSend API
# <<----------------------->>
# CLICK_SEND_NAME=
# CLICK_SEND_USERNAME=
# CLICK_SEND_API_KEY=
# # PayPal
# <<----------------------->>
# PAYPAL_BASE=https://api-m.sandbox.paypal.com
# PAYPAL_CLIENT_ID=
# PAYPAL_SECRET=
# # REDIS
# <<----------------------->>
# USE_REDIS=
# REDIS_HOST=127.0.0.1
# REDIS_USER=
# REDIS_PASS=
# REDIS_PORT=6565
# REDIS_URL=redis://:@127.0.0.1:6565
# # MongoDB
# <<----------------------->>
# If NODE_ENV === 'dev' then MongoDB will use 'mongodb-memory-server'
# MONGO_USE_REPLICA_SET=rs0 # Replica set - Required to use listeners in production or development.
# <<----------------------->>
MONGO_ACTIVE= # Use MongoDB
MONGO_USE_INTERNAL_SERVER=
MONGO_URL=mongodb://127.0.0.1:28015,127.0.0.1:28016,127.0.0.1:28017/Template_Demo
MONGO_REPLICA_SET_1=app_rs_1
MONGO_HOST=localhost
MONGO_PORT=27017
MONGO_CLUSTER=
MONGO_USER=
MONGO_PASSWORD=
MONGO_DEFAULT_DATABASE=Template_Demo
ADMIN_DEFAULT_DATABASE=
# # POSTGRES
# <<----------------------->>
PG_ACTIVE= y # Use PostGres
PG_HOST=localhost
PG_USER=postgres
PG_PASS=nintyz@POSTGRES1
PG_PORT=5432
PG_DB=demo_db
# # MySQL
# <<----------------------->>
MYSQL_ACTIVE= y# Use MySQL
MYSQL_HOST=localhost
MYSQL_USER=root
MYSQL_PASS=nintyz@SQL1
MYSQL_PORT=3306
MYSQL_DB=demo_db
# # Express Queue Limit number of simultaneously processing requests
# <<----------------------->>
# EXPRESS_QUEUE_LIMIT=2
# DOS limits - You are able to limit the request to specific endpoint
# DOS_LIMIT=5 # Max request per connection/second
# DOS_BURST=10 # Max burst limit
# DOS_EXP=5 # Cool off period in seconds
# # OPEN AI GPT
# <<----------------------->>
# OPENAI_API_KEY=
# # Backblaze
# <<----------------------->>
# ENABLE_FILE_UPLOAD=
# ## Public Bucket Credentials
# BACKBLAZE_PUBLIC_KEY_ID=
# BACKBLAZE_PUBLIC_KEY=
# ## Private Bucket Credentials
# BACKBLAZE_PRIVATE_KEY_ID=
# BACKBLAZE_PRIVATE_KEY_NAME=
# BACKBLAZE_PRIVATE_BUCKET_NAME=
# BACKBLAZE_PRIVATE_KEY=
# # FIREBASE
# <<----------------------->>
# MY_FB_SERVER=
# FCM_SERVER_KEY=
# # Google Auth
# <<----------------------->>
# GOOGLE_CLIENT_ID=
# GOOGLE_APP_ID=
# # Facebook Auth
# <<----------------------->>
# FACEBOOK_APP_ID=
ADMIN_API_KEY=DuVy3-TbqsAGq9RBI2_A9Jit4We.wY1nrEqkTgacspSlTq5B