-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (48 loc) · 1.39 KB
/
.env.example
File metadata and controls
59 lines (48 loc) · 1.39 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
57
58
59
# FluxStack Environment Variables
# Development Mode
NODE_ENV=development
# Server Configuration
PORT=3000
HOST=localhost
# Frontend Configuration
FRONTEND_PORT=5173
VITE_API_URL=http://localhost:3000
VITE_APP_NAME=FluxStack
VITE_APP_VERSION=1.7.3
VITE_NODE_ENV=development
# FluxStack Framework Version
FLUXSTACK_APP_VERSION=1.7.3
# Backend Configuration
BACKEND_PORT=3001
# CORS Configuration
CORS_ORIGINS=http://localhost:3000,http://localhost:5173
CORS_METHODS=GET,POST,PUT,DELETE,OPTIONS
CORS_HEADERS=Content-Type,Authorization
# Logging
LOG_LEVEL=info
# Swagger Documentation
SWAGGER_ENABLED=true
SWAGGER_TITLE=FluxStack API
SWAGGER_VERSION=1.8.2
SWAGGER_DESCRIPTION=API documentation for FluxStack application
SWAGGER_PATH=/swagger
# SWAGGER_EXCLUDE_PATHS=/internal,/admin
# SWAGGER_SERVERS=https://api.myapp.com|Production,https://staging.myapp.com|Staging
SWAGGER_PERSIST_AUTH=true
SWAGGER_DISPLAY_DURATION=true
SWAGGER_ENABLE_FILTER=true
SWAGGER_SHOW_EXTENSIONS=true
SWAGGER_TRY_IT_OUT=true
# Swagger Authentication (Basic Auth)
SWAGGER_AUTH_ENABLED=false
SWAGGER_AUTH_USERNAME=admin
# SWAGGER_AUTH_PASSWORD=your-secure-password-here
# Build Configuration
BUILD_TARGET=bun
BUILD_OUTDIR=dist
# Crypto Auth Plugin
CRYPTO_AUTH_ENABLED=true
CRYPTO_AUTH_MAX_TIME_DRIFT=300000
# Adicione chaves públicas de admin separadas por vírgula (64 chars hex cada)
CRYPTO_AUTH_ADMIN_KEYS=
CRYPTO_AUTH_ENABLE_METRICS=true