-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration
Sugers edited this page Jun 24, 2026
·
1 revision
| Variable | Default | Description |
|---|---|---|
DB_TYPE |
mysql |
Database type: mysql / postgresql |
DB_HOST |
localhost |
Database host |
DB_PORT |
3306 |
Database port |
DB_USER |
root |
Database user |
DB_PASSWORD |
— | Database password |
DB_NAME |
agent_mill |
Database name |
JWT_SECRET |
— | JWT signing secret |
JWT_ALG |
HS256 |
JWT algorithm |
ENCRYPTION_KEY |
— | Fernet key for API key encryption |
ACCESS_TOKEN_EXPIRE_MINUTES |
720 |
Access token lifetime |
REFRESH_TOKEN_EXPIRE_DAYS |
2 |
Refresh token lifetime |
CORS_ORIGINS |
http://localhost:5173 |
Allowed CORS origins |
APP_BASE_URL |
http://localhost:5173 |
Application base URL |
SEED_ADMIN_USERNAME |
admin |
Default admin username |
SEED_ADMIN_PASSWORD |
Admin@2026 |
Default admin password |
- Generate strong
JWT_SECRET - Generate
ENCRYPTION_KEY:python3 -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())" - Change admin password
- Configure SMTP for email notifications
- Set up HTTPS reverse proxy
- Configure database backups