-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (31 loc) · 815 Bytes
/
.env.example
File metadata and controls
38 lines (31 loc) · 815 Bytes
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
# The default values are defined in env.js
NODE_ENV=development
# Server's port
# PORT=3000
# --------------------------------
# Database options
# --------------------------------
DB_HOST=localhost
DB_PORT=5432
DB_NAME=correctomatic
DB_USER=postgres
DB_PASSWORD=postgres
# --------------------------------
# Environment variables for redis, needed by bullMQ
# --------------------------------
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_USER=default
REDIS_PASSWORD=password
# --------------------------------
# JWT
# --------------------------------
JWT_SECRET_KEY=something_random_here
JWT_EXPIRES_IN=1h
# Queue name for pending corrections,
# QUEUE_NAME=<queue-name>
# Logger configuration
LOG_LEVEL=debug
# LOG_FILE=/tmp/correctomatic.log
# Directory where uploaded files are stored
UPLOAD_DIRECTORY=/tmp