-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (35 loc) · 1.09 KB
/
.env.example
File metadata and controls
43 lines (35 loc) · 1.09 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
# Application Configuration
APP_NAME=openstack-vm-api
API_VERSION=v1
ENVIRONMENT=development
DEBUG=True
# Server Configuration
HOST=0.0.0.0
PORT=8000
# Logging
LOG_LEVEL=INFO
# OpenStack Configuration (for production with real OpenStack)
# OPENSTACK_AUTH_URL=http://openstack.example.com:5000/v3
# OPENSTACK_USERNAME=admin
# OPENSTACK_PASSWORD=secret
# OPENSTACK_PROJECT_NAME=demo
# OPENSTACK_PROJECT_DOMAIN_NAME=Default
# OPENSTACK_USER_DOMAIN_NAME=Default
# OPENSTACK_REGION_NAME=RegionOne
# Database Configuration (for future use)
# DATABASE_URL=postgresql://user:password@localhost:5432/vmapi
# DATABASE_POOL_SIZE=10
# DATABASE_MAX_OVERFLOW=20
# Redis Configuration (for future caching)
# REDIS_URL=redis://localhost:6379/0
# REDIS_MAX_CONNECTIONS=10
# Security (for future authentication)
# SECRET_KEY=your-secret-key-here-change-in-production
# JWT_ALGORITHM=HS256
# ACCESS_TOKEN_EXPIRE_MINUTES=30
# CORS Configuration
# CORS_ORIGINS=http://localhost:3000,https://example.com
# CORS_ALLOW_CREDENTIALS=True
# Rate Limiting (for future use)
# RATE_LIMIT_ENABLED=True
# RATE_LIMIT_REQUESTS_PER_MINUTE=60