Display L-UI; panel binary/process l-ui, agent lui-agent. Dirs /usr/local/l-ui, /etc/l-ui, /var/log/l-ui; DB /etc/l-ui/l-ui.db (name file drives it via GetName), probe.db beside it, cert /etc/l-ui/cert, bin /usr/local/l-ui/bin. Services l-ui.service / lui-agent.service, OpenRC lui-agent, l-ui.sh, cmd/lui-agent. Env prefix XUI_ -> LUI_ (code reads new prefix only). Release assets l-ui-linux-* / lui-agent-linux-*; Gitea repo rogue/l-ui is a placeholder pending user confirmation (see selfupdate.go note). Go module path github.com/mhsanaei/3x-ui/v3 intentionally kept. Versions unchanged: panel V2.6.0 / agent A2.5.0.
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"$schema": "vscode://schemas/launch",
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Run L-UI (Debug)",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "${workspaceFolder}",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"LUI_DEBUG": "true",
|
|
"LUI_DB_FOLDER": "l-ui",
|
|
"LUI_LOG_FOLDER": "l-ui",
|
|
"LUI_BIN_FOLDER": "l-ui"
|
|
},
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Run L-UI (Postgres)",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "${workspaceFolder}",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"LUI_DEBUG": "true",
|
|
"LUI_LOG_FOLDER": "l-ui",
|
|
"LUI_BIN_FOLDER": "l-ui",
|
|
"LUI_DB_TYPE": "postgres",
|
|
"LUI_DB_DSN": "postgres://xui:xuipass@127.0.0.1:5432/xui?sslmode=disable"
|
|
},
|
|
"windows": {
|
|
"env": {
|
|
"LUI_DEBUG": "true",
|
|
"LUI_LOG_FOLDER": "l-ui",
|
|
"LUI_BIN_FOLDER": "l-ui",
|
|
"LUI_DB_TYPE": "postgres",
|
|
"LUI_DB_DSN": "postgres://xui:xuipass@127.0.0.1:5432/xui?sslmode=disable",
|
|
"PATH": "C:\\Program Files\\PostgreSQL\\18\\bin;${env:PATH}"
|
|
}
|
|
},
|
|
"console": "integratedTerminal"
|
|
}
|
|
]
|
|
} |