-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.test.example
More file actions
32 lines (27 loc) · 958 Bytes
/
Copy path.env.test.example
File metadata and controls
32 lines (27 loc) · 958 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
# ── Puna — E2E Test Environment ──
# Copy this file to .env.test and adjust if needed.
# Used by: npm run test:e2e:seed & npm run test:e2e
NODE_ENV=test
PORT=3099
# ── Database (SQLite for E2E tests) ──
DB_DIALECT=sqlite
DB_STORAGE=storage/test.sqlite
# Placeholders (required by env.validator but ignored by SQLite)
DB_IP=127.0.0.1
DB_PORT=3306
DB_USER=root
DB_PWD=unused
DB_NAME=puna_test
# ── Security keys (fixed test values — NEVER use in production) ──
KEY_TK=test-jwt-secret-key-minimum-32-chars!!
KEV=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
KIV=bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
SESSION_SECRET=e2e-session-secret-at-least-32chars!!
CSRF_SECRET=e2e-csrf-secret-at-least-32-chars!!
API_KEY=e2e-api-key-for-testing-purposes-only
# ── Features disabled for E2E ──
TOTP_ENABLED=false
CLAMAV_ENABLED=false
# ── Admin seed user ──
ADMIN_LOGIN=admin_e2e
ADMIN_EMAIL=admin@e2e.test