Files
llm/backend/config/config.json
2024-05-27 18:59:58 +02:00

52 lines
967 B
JSON

{
"ai": {
"port": 5171
},
"server": {
"host": "localhost",
"port": 5172,
"baseUrl": "http://localhost:5172/",
"features": {
"auth": {
"enable": true,
"register": true
}
},
"session": {
"secret": "insert some random generated string in here",
"name": "sid",
"cookie": {
"path": "/",
"domain": null,
"secure": false,
"sameSite": "strict"
},
"rolling": true,
"proxy": false
}
},
"database": {
"use": "sqlite",
"mysql2": {
"client": "mysql2",
"connection": {
"host": "localhost",
"port": 3306,
"database": "ai",
"user": "user",
"password": "password"
},
"pool": {
"min": 2,
"max": 10
}
},
"sqlite": {
"client": "sqlite3",
"useNullAsDefault": true,
"connection": {
"filename": "./ai.db"
}
}
}
}