-
Notifications
You must be signed in to change notification settings - Fork 382
Expand file tree
/
Copy path.env.test
More file actions
56 lines (45 loc) · 1.05 KB
/
.env.test
File metadata and controls
56 lines (45 loc) · 1.05 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
# === ENVIRONNEMENT ===
NODE_ENV=test
APP_NAME=backend-javascript
APP_VERSION=1.1.1
# === SERVEUR APPLICATION ===
HOST=localhost
PORT=4000
CORS_ORIGIN=*
# === BASE DE DONNEES ===
DB_CLIENT=mock # pg | mysql | mock
# === AUTHENTIFICATION MOCK ===
FAKE_USER_NAME=editor_user
FAKE_USER_ROLE=editor
# FAKE_USER_NAME=admin_user
# FAKE_USER_ROLE=admin
# === LOGGING ===
LOG_LEVEL=info
# === SWAGGER ===
SWAGGER_ENABLED=true
# === PostgreSQL (native) ===
DB_PG_HOST=localhost
DB_PG_PORT=5432
DB_PG_DATABASE=backend_starter
DB_PG_USER=postgres
DB_PG_PASSWORD=Trustno1
# === MySQL ===
DB_MYSQL_HOST=localhost
DB_MYSQL_PORT=3306
DB_MYSQL_DATABASE=backend_starter
DB_MYSQL_USER=root
DB_MYSQL_PASSWORD=Trustno1
# === ELASTICSEARCH ===
ELASTIC_ENABLED=false
ELASTICSEARCH_NODE=http://localhost:9200
ELASTIC_INDEX_PREFIX=backend-javascript-logs
# === LOGSTASH ===
LOGSTASH_ENABLED=false
# === REDIS ===
REDIS_ENABLED=false
REDIS_REQUIRED=false
REDIS_URL=redis://localhost:6379
# === PROMETHEUS ===
PROMETHEUS_ENABLED=true
# PROMETHEUS_MODE=http_requests_total
PROMETHEUS_MODE=all