first commit
This commit is contained in:
43
.env.example
Normal file
43
.env.example
Normal file
@@ -0,0 +1,43 @@
|
||||
# Application
|
||||
APP_NAME=VConnect API
|
||||
APP_VERSION=1.0.0
|
||||
DEBUG=True
|
||||
API_V1_PREFIX=/api
|
||||
|
||||
# Database
|
||||
DATABASE_URL=postgresql://vconnect:vconnect123@localhost:5432/vconnect
|
||||
# SQLite (개발용): sqlite:///./vconnect.db
|
||||
|
||||
# JWT Authentication
|
||||
JWT_SECRET_KEY=your-super-secret-key-change-this-in-production
|
||||
JWT_ALGORITHM=HS256
|
||||
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=30
|
||||
JWT_REFRESH_TOKEN_EXPIRE_DAYS=7
|
||||
|
||||
# Proxmox
|
||||
PROXMOX_HOST=https://pve.mouse84.com:8006
|
||||
PROXMOX_API_TOKEN=PVEAPIToken=root@pam!vconnect=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
PROXMOX_VERIFY_SSL=False
|
||||
|
||||
# SSH Gateway (터널링 서버)
|
||||
SSH_HOST=ssh.example.com
|
||||
SSH_PORT=22
|
||||
SSH_USERNAME=tunneluser
|
||||
SSH_KEY_PATH=/path/to/ssh/private_key
|
||||
# 또는 SSH_PASSWORD=your-password
|
||||
|
||||
# Port Range for Tunneling
|
||||
TUNNEL_PORT_MIN=50000
|
||||
TUNNEL_PORT_MAX=60000
|
||||
|
||||
# CORS (클라이언트 도메인)
|
||||
CORS_ORIGINS=["http://localhost:8080", "http://localhost:3000"]
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=INFO
|
||||
LOG_FILE=logs/vconnect.log
|
||||
|
||||
# Admin (첫 관리자 계정)
|
||||
ADMIN_USERNAME=admin
|
||||
ADMIN_PASSWORD=admin123
|
||||
ADMIN_EMAIL=admin@example.com
|
||||
Reference in New Issue
Block a user