-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.test
More file actions
33 lines (25 loc) · 693 Bytes
/
.env.test
File metadata and controls
33 lines (25 loc) · 693 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
# App ports (not used by egg-mock, reserved)
SERVER_PORT=17002
WEB_PORT=15173
# Database (use separate DB)
DATABASE_URL=mysql://lumina:lumina123@127.0.0.1:33306/lumina_test
# Default admin
ADMIN_EMAIL=test-admin@lumina.local
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin123
# MQ / Redis (tests skip SubscriptionManager by NODE_ENV=test)
MQ_USER=admin
MQ_PASS=admin
MQ_HOST=127.0.0.1
MQ_PORT=35672
MQ_VHOST=
REDIS_HOST=127.0.0.1
REDIS_PORT=36379
REDIS_PASSWORD=
REDIS_DB=15
# Preview token
PREVIEW_TOKEN_SECRET=preview_test_secret
# Root user ids (avoid treating user #1 as root in tests)
LUMINA_ROOT_USER_IDS=2
# Web URL (for absolute links if needed)
WEB_URL=http://localhost:${WEB_PORT}