2021-11-22 14:17:10 +03:00
|
|
|
{
|
|
|
|
// Use IntelliSense to learn about possible attributes.
|
|
|
|
// Hover to view descriptions of existing attributes.
|
|
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
2023-03-15 09:39:12 +03:00
|
|
|
{
|
|
|
|
"address": "127.0.0.1",
|
|
|
|
"localRoot": "${workspaceFolder}",
|
|
|
|
"name": "Attach to Remote",
|
|
|
|
"port": 9229,
|
|
|
|
"request": "attach",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"skipFiles": [
|
|
|
|
"<node_internals>/**"
|
|
|
|
],
|
|
|
|
"type": "node"
|
|
|
|
},
|
2023-01-24 16:42:47 +03:00
|
|
|
{
|
|
|
|
"name": "Python: Embeddings",
|
|
|
|
"type": "python",
|
|
|
|
"request": "launch",
|
|
|
|
"program": "./pods/embeddings/server.py",
|
|
|
|
"args": ["--model", "sentence-transformers/all-MiniLM-L6-v2", "--device", "cpu"],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"justMyCode": true,
|
|
|
|
"env": {
|
|
|
|
"PYTORCH_ENABLE_MPS_FALLBACK":"1"
|
|
|
|
}
|
|
|
|
},
|
2021-11-22 14:17:10 +03:00
|
|
|
{
|
|
|
|
"name": "Debug server",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2023-01-24 16:42:47 +03:00
|
|
|
"args": ["src/__start.ts"],
|
2021-11-22 14:17:10 +03:00
|
|
|
"env": {
|
|
|
|
"ELASTIC_URL": "http://localhost:9200",
|
2021-12-22 12:02:51 +03:00
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"APM_SERVER_URL2": "http://localhost:8200",
|
2023-04-20 13:11:22 +03:00
|
|
|
"METRICS_CONSOLE": "false",
|
|
|
|
"METRICS_FILE": "${workspaceRoot}/metrics.txt", // Show metrics in console evert 30 seconds.,
|
2024-07-29 12:22:47 +03:00
|
|
|
"STORAGE_CONFIG": "minio|localhost?accessKey=minioadmin&secretKey=minioadmin",
|
2023-01-04 20:58:54 +03:00
|
|
|
"SERVER_SECRET": "secret",
|
2024-08-05 08:37:13 +03:00
|
|
|
"ENABLE_CONSOLE": "true",
|
2023-12-12 09:17:22 +03:00
|
|
|
"COLLABORATOR_URL": "ws://localhost:3078",
|
2023-01-04 20:58:54 +03:00
|
|
|
"REKONI_URL": "http://localhost:4004",
|
2023-01-31 08:48:40 +03:00
|
|
|
"FRONT_URL": "http://localhost:8080",
|
2024-02-05 11:33:52 +03:00
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
2023-05-03 17:09:48 +03:00
|
|
|
// "SERVER_PROVIDER":"uweb"
|
2023-09-15 07:43:56 +03:00
|
|
|
"SERVER_PROVIDER":"ws",
|
2024-04-12 18:37:14 +03:00
|
|
|
"MODEL_VERSION": "",
|
2024-04-22 13:07:15 +03:00
|
|
|
"ELASTIC_INDEX_NAME": "local_storage_index",
|
|
|
|
"UPLOAD_URL": "/files",
|
2023-05-03 17:09:48 +03:00
|
|
|
|
2023-01-04 20:58:54 +03:00
|
|
|
// "RETRANSLATE_URL": "http://127.0.0.1:4500",
|
|
|
|
//"RETRANSLATE_URL": "https://208.167.249.201",
|
|
|
|
// "RETRANSLATE_TOKEN": ""
|
2021-11-22 14:17:10 +03:00
|
|
|
},
|
2023-01-24 16:42:47 +03:00
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
2024-03-27 11:49:36 +03:00
|
|
|
"runtimeVersion": "20",
|
2023-01-04 20:58:54 +03:00
|
|
|
"showAsyncStacks": true,
|
2024-08-06 17:36:03 +03:00
|
|
|
"outputCapture": "std",
|
2021-11-22 14:17:10 +03:00
|
|
|
"sourceMaps": true,
|
2022-12-05 19:27:49 +03:00
|
|
|
"cwd": "${workspaceRoot}/pods/server",
|
2021-11-22 14:17:10 +03:00
|
|
|
"protocol": "inspector"
|
2021-11-25 14:07:44 +03:00
|
|
|
},
|
2022-07-14 05:45:51 +03:00
|
|
|
{
|
|
|
|
"name": "Debug Account",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2023-01-24 16:42:47 +03:00
|
|
|
"args": ["src/__start.ts"],
|
2022-07-14 05:45:51 +03:00
|
|
|
"env": {
|
2023-01-31 12:10:44 +03:00
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
2022-07-14 05:45:51 +03:00
|
|
|
"SERVER_SECRET": "secret",
|
2023-09-19 14:11:28 +03:00
|
|
|
"TRANSACTOR_URL": "ws://localhost:3333",
|
2023-01-31 12:10:44 +03:00
|
|
|
"ACCOUNT_PORT": "3000",
|
|
|
|
"FRONT_URL": "http://localhost:8080",
|
2024-08-06 17:36:03 +03:00
|
|
|
"outputCapture": "std",
|
2024-08-19 08:41:31 +03:00
|
|
|
"SES_URL": "",
|
2023-06-16 14:29:07 +03:00
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost"
|
2022-07-14 05:45:51 +03:00
|
|
|
},
|
2023-01-24 16:42:47 +03:00
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
2022-07-14 05:45:51 +03:00
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/pods/account",
|
|
|
|
"protocol": "inspector"
|
|
|
|
},
|
2024-07-29 12:22:47 +03:00
|
|
|
{
|
|
|
|
"name": "Debug Front",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/__start.ts"],
|
|
|
|
"env": {
|
|
|
|
"ELASTIC_URL": "http://localhost:9200",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"METRICS_CONSOLE": "false",
|
|
|
|
"STORAGE_CONFIG": "minio|localhost?accessKey=minioadmin&secretKey=minioadmin",
|
|
|
|
"SERVER_SECRET": "secret",
|
|
|
|
"REKONI_URL": "http://localhost:4004",
|
|
|
|
"FRONT_URL": "http://localhost:8080",
|
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
|
|
|
"UPLOAD_URL": "/files",
|
|
|
|
"SERVER_PORT": "8087",
|
|
|
|
"COLLABORATOR_URL": "ws://localhost:3078",
|
|
|
|
"CALENDAR_URL": "http://localhost:8095",
|
|
|
|
"GMAIL_URL": "http://localhost:8088",
|
|
|
|
"TELEGRAM_URL": "http://localhost:8086",
|
2024-08-16 10:00:55 +03:00
|
|
|
"MODEL_VERSION": "",
|
|
|
|
"VERSION": ""
|
2024-07-29 12:22:47 +03:00
|
|
|
},
|
2024-08-16 10:00:55 +03:00
|
|
|
"runtimeVersion": "20",
|
2024-07-29 12:22:47 +03:00
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"showAsyncStacks": true,
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/pods/front",
|
|
|
|
"protocol": "inspector",
|
|
|
|
"outputCapture": "std"
|
|
|
|
},
|
2023-12-12 09:17:22 +03:00
|
|
|
{
|
|
|
|
"name": "Debug Collaborator",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/__start.ts"],
|
|
|
|
"env": {
|
2023-12-25 12:49:08 +03:00
|
|
|
"SECRET": "secret",
|
|
|
|
"METRICS_CONSOLE": "true",
|
2024-02-05 11:38:18 +03:00
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
2023-12-25 12:49:08 +03:00
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
2023-12-12 09:17:22 +03:00
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost"
|
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/pods/collaborator",
|
|
|
|
"protocol": "inspector"
|
|
|
|
},
|
2021-11-25 14:07:44 +03:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug Jest tests",
|
|
|
|
"program": "${fileDirname}/../../node_modules/@rushstack/heft/lib/start.js",
|
|
|
|
"cwd": "${fileDirname}/../../",
|
2023-01-24 16:42:47 +03:00
|
|
|
"args": ["--debug", "test", "--clean", "--test-path-pattern", "${file}"],
|
2021-11-25 14:07:44 +03:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"protocol": "inspector"
|
2021-12-10 12:47:54 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug generator",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2023-01-24 16:42:47 +03:00
|
|
|
"args": ["src/index.ts", "gen-recruit", "ws1", "20"],
|
2021-12-10 12:47:54 +03:00
|
|
|
"env": {
|
2024-07-18 21:04:48 +03:00
|
|
|
"ACCOUNTS_URL": "ws://localhost:3000",
|
2022-05-23 18:53:33 +03:00
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost"
|
2021-12-10 12:47:54 +03:00
|
|
|
},
|
2023-01-24 16:42:47 +03:00
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
2021-12-10 12:47:54 +03:00
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/dev/generator",
|
|
|
|
"protocol": "inspector"
|
2022-05-23 18:53:33 +03:00
|
|
|
},
|
2021-12-22 12:02:51 +03:00
|
|
|
{
|
2023-03-15 09:39:12 +03:00
|
|
|
"name": "Debug backup tool",
|
2021-12-22 12:02:51 +03:00
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2023-03-15 09:39:12 +03:00
|
|
|
"args": ["src/index.ts", "backup", "../../../dump/alex-staff-agency2", "alex-staff-agency"],
|
2021-12-22 12:02:51 +03:00
|
|
|
"env": {
|
2022-05-23 18:53:33 +03:00
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
2024-07-18 21:04:48 +03:00
|
|
|
"ACCOUNTS_URL": "localhost:3000",
|
2022-05-23 18:53:33 +03:00
|
|
|
"TELEGRAM_DATABASE": "telegram-service",
|
|
|
|
"ELASTIC_URL": "http://localhost:9200"
|
2021-12-22 12:02:51 +03:00
|
|
|
},
|
2023-01-24 16:42:47 +03:00
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
2022-10-20 10:04:46 +03:00
|
|
|
"sourceMaps": true,
|
2023-03-15 09:39:12 +03:00
|
|
|
"cwd": "${workspaceRoot}/dev/tool",
|
|
|
|
"protocol": "inspector"
|
2022-10-20 10:04:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug tool upgrade",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2024-08-08 10:58:30 +03:00
|
|
|
"args": ["src/__start.ts", "stress", "ws://localhost:3333", "wrong"],
|
2022-10-20 10:04:46 +03:00
|
|
|
"env": {
|
|
|
|
"SERVER_SECRET": "secret",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
2024-08-06 12:44:23 +03:00
|
|
|
"TRANSACTOR_URL": "ws://localhost:3333",
|
2022-10-20 10:04:46 +03:00
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
2024-07-18 21:04:48 +03:00
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
2022-10-20 10:04:46 +03:00
|
|
|
"TELEGRAM_DATABASE": "telegram-service",
|
|
|
|
"ELASTIC_URL": "http://localhost:9200",
|
|
|
|
"REKONI_URL": "http://localhost:4004"
|
|
|
|
},
|
2023-01-24 16:42:47 +03:00
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
2021-12-22 12:02:51 +03:00
|
|
|
"sourceMaps": true,
|
2024-08-08 10:58:30 +03:00
|
|
|
"outputCapture": "std",
|
2022-06-16 06:36:45 +03:00
|
|
|
"cwd": "${workspaceRoot}/dev/tool"
|
2022-11-02 11:50:14 +03:00
|
|
|
},
|
2023-03-15 09:39:12 +03:00
|
|
|
{
|
|
|
|
"name": "Debug backup",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/index.ts"],
|
|
|
|
"env": {
|
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"SECRET": "secret",
|
|
|
|
"BUCKET_NAME":"test_backups",
|
|
|
|
"INTERVAL":"30"
|
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"showAsyncStacks": true,
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/pods/backup",
|
|
|
|
"protocol": "inspector"
|
|
|
|
},
|
2024-07-29 12:22:47 +03:00
|
|
|
{
|
|
|
|
"name": "Debug Github integration",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/index.ts"],
|
|
|
|
"env": {
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"SERVER_SECRET": "secret",
|
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
|
|
|
"APP_ID": "${env:POD_GITHUB_APPID}",
|
|
|
|
"CLIENT_ID": "${env:POD_GITHUB_CLIENTID}",
|
|
|
|
"CLIENT_SECRET": "${env:POD_GITHUB_CLIENT_SECRET}",
|
|
|
|
"PRIVATE_KEY": "${env:POD_GITHUB_PRIVATE_KEY}",
|
2024-08-22 14:03:42 +03:00
|
|
|
"COLLABORATOR_URL": "ws://localhost:3078",
|
2024-07-29 12:22:47 +03:00
|
|
|
"SYSTEM_EMAIL": "anticrm@hc.engineering",
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
2024-08-11 14:09:36 +03:00
|
|
|
"PLATFORM_OPERATION_LOGGING": "true",
|
2024-07-29 12:22:47 +03:00
|
|
|
"FRONT_URL": "http://localhost:8080",
|
2024-08-07 09:53:17 +03:00
|
|
|
"PORT": "3500"
|
2024-07-29 12:22:47 +03:00
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/services/github/pod-github",
|
|
|
|
"protocol": "inspector",
|
|
|
|
"outputCapture": "std"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug qms workers",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/index.ts"],
|
|
|
|
"env": {
|
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
|
|
|
"SYSTEM_EMAIL": "anticrm@hc.engineering",
|
|
|
|
"SECRET": "secret",
|
|
|
|
"DOCS_RELEASE_INTERVAL": "10000",
|
|
|
|
"DOCS_IN_REVIEW_CHECK_INTERVAL": "10000",
|
|
|
|
"DOCS_REVIEW_PERIOD_IN_MONTHS": "1"
|
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"showAsyncStacks": true,
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/pods/workers"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug doc import tool",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/__start.ts", "import", "--spec", "toc.json", "docx", "ws", "person-owner"],
|
|
|
|
"env": {
|
|
|
|
"SERVER_SECRET": "secret",
|
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
2024-08-22 14:03:42 +03:00
|
|
|
"COLLABORATOR_URL": "ws://localhost:3078",
|
2024-08-08 14:59:04 +03:00
|
|
|
"STORAGE_CONFIG": "minio|localhost?accessKey=minioadmin&secretKey=minioadmin",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017"
|
2024-07-29 12:22:47 +03:00
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"runtimeVersion": "20",
|
|
|
|
"showAsyncStacks": true,
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/dev/doc-import-tool",
|
|
|
|
"protocol": "inspector"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug print",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/index.ts"],
|
|
|
|
"env": {
|
|
|
|
"PORT": "4005",
|
|
|
|
"SECRET": "secret",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
2024-08-07 09:53:17 +03:00
|
|
|
"MINIO_SECRET_KEY": "minioadmin"
|
2024-07-29 12:22:47 +03:00
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"runtimeVersion": "20",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/services/print/pod-print"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug sign",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/index.ts"],
|
|
|
|
"env": {
|
|
|
|
"PORT": "4006",
|
|
|
|
"SECRET": "secret",
|
|
|
|
"CERTIFICATE_PATH": "${workspaceRoot}/services/sign/pod-sign/debug/certificate.p12",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"SERVICE_ID": "sign-service",
|
|
|
|
"SYSTEM_EMAIL": "",
|
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
|
|
|
"BRANDING_PATH": "${workspaceRoot}/services/sign/pod-sign/debug/branding.json"
|
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"runtimeVersion": "20",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/services/sign/pod-sign"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug rekoni",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/index.ts"],
|
|
|
|
"env": {
|
|
|
|
"PORT": "4004",
|
|
|
|
"SERVICE_ID": "rekoni-service",
|
|
|
|
"SECRET": "secret"
|
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/services/rekoni",
|
|
|
|
"protocol": "inspector"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug analytics collector",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/index.ts"],
|
|
|
|
"env": {
|
2024-08-23 10:05:21 +03:00
|
|
|
"PORT": "4007",
|
2024-07-29 12:22:47 +03:00
|
|
|
"SECRET": "secret",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"SERVER_SECRET": "secret",
|
|
|
|
"SERVICE_ID": "analytics-collector",
|
|
|
|
"SUPPORT_WORKSPACE": "support",
|
|
|
|
"ACCOUNTS_URL": "http://localhost:3000"
|
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"runtimeVersion": "20",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"showAsyncStacks": true,
|
|
|
|
"outputCapture": "std",
|
|
|
|
"cwd": "${workspaceRoot}/services/analytics-collector/pod-analytics-collector"
|
2024-08-06 17:40:13 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug AI bot",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/index.ts"],
|
|
|
|
"env": {
|
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"PORT": "4008",
|
|
|
|
"SERVER_SECRET": "secret",
|
|
|
|
"SUPPORT_WORKSPACE": "support",
|
|
|
|
"FIRST_NAME": "Jolie",
|
|
|
|
"LAST_NAME": "AI",
|
|
|
|
"PASSWORD": "password",
|
|
|
|
"AVATAR_PATH": "./assets/avatar.png",
|
2024-08-28 14:36:11 +03:00
|
|
|
"AVATAR_CONTENT_TYPE": ".png",
|
|
|
|
"OPENAI_API_KEY": "token"
|
2024-08-06 17:40:13 +03:00
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/services/ai-bot/pod-ai-bot",
|
|
|
|
"protocol": "inspector",
|
|
|
|
"outputCapture": "std"
|
2024-08-14 19:13:26 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug telegram bot",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/index.ts"],
|
|
|
|
"env": {
|
|
|
|
"PORT": "4020",
|
|
|
|
"BOT_TOKEN": "token",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"MONGO_DB": "telegram-bot",
|
|
|
|
"SECRET": "secret",
|
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
|
|
|
"SERVICE_ID": "telegram-bot-service"
|
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"runtimeVersion": "20",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/services/telegram-bot/pod-telegram-bot"
|
2024-07-29 12:22:47 +03:00
|
|
|
}
|
2021-11-22 14:17:10 +03:00
|
|
|
]
|
2023-01-24 16:42:47 +03:00
|
|
|
}
|