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",
|
2024-09-11 19:08:14 +03:00
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
2024-10-01 09:44:49 +03:00
|
|
|
"DB_URL": "mongodb://localhost:27017",
|
|
|
|
// "DB_URL": "postgresql://postgres:example@localhost:5432",
|
2021-12-22 12:02:51 +03:00
|
|
|
"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-09-11 19:08:14 +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",
|
2024-09-20 11:59:10 +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",
|
2024-10-09 08:08:27 +03:00
|
|
|
"MODEL_JSON": "${workspaceRoot}/models/all/bundle/model.json",
|
2023-05-03 17:09:48 +03:00
|
|
|
// "SERVER_PROVIDER":"uweb"
|
2023-09-15 07:43:56 +03:00
|
|
|
"SERVER_PROVIDER":"ws",
|
2024-09-09 11:40:49 +03:00
|
|
|
"MODEL_VERSION": "0.6.287",
|
2024-09-18 06:01:27 +03:00
|
|
|
// "VERSION": "0.6.289",
|
2024-04-22 13:07:15 +03:00
|
|
|
"ELASTIC_INDEX_NAME": "local_storage_index",
|
2024-10-30 11:10:30 +03:00
|
|
|
"UPLOAD_URL": "/files",
|
|
|
|
"AI_BOT_URL": "http://localhost:4010"
|
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",
|
2024-10-01 09:44:49 +03:00
|
|
|
"DB_URL": "mongodb://localhost:27017",
|
|
|
|
// "DB_URL": "postgresql://postgres:example@localhost:5432",
|
2022-07-14 05:45:51 +03:00
|
|
|
"SERVER_SECRET": "secret",
|
2024-10-09 08:08:27 +03:00
|
|
|
"TRANSACTOR_URL": "ws://host.docker.internal:3333,ws://host.docker.internal:3331;;pg",
|
2024-10-01 09:44:49 +03:00
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
2024-10-09 08:08:27 +03:00
|
|
|
"REGION_INFO": "|Mongo;pg|Postgree",
|
2023-01-31 12:10:44 +03:00
|
|
|
"ACCOUNT_PORT": "3000",
|
|
|
|
"FRONT_URL": "http://localhost:8080",
|
2024-10-29 08:57:28 +03:00
|
|
|
"STATS_URL": "http://host.docker.internal:4900",
|
2024-08-19 08:41:31 +03:00
|
|
|
"SES_URL": "",
|
2024-10-18 16:22:26 +03:00
|
|
|
// "DB_NS": "account-2",
|
2024-10-15 16:09:00 +03:00
|
|
|
// "WS_LIVENESS_DAYS": "1",
|
2023-06-16 14:29:07 +03:00
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
2024-10-15 13:03:55 +03:00
|
|
|
"MINIO_ENDPOINT": "localhost",
|
|
|
|
// "DISABLE_SIGNUP": "true",
|
2024-09-02 19:12:04 +03:00
|
|
|
// "INIT_SCRIPT_URL": "https://raw.githubusercontent.com/hcengineering/init/main/script.yaml",
|
|
|
|
// "INIT_WORKSPACE": "onboarding",
|
2022-07-14 05:45:51 +03:00
|
|
|
},
|
2024-09-02 19:12:04 +03:00
|
|
|
"runtimeVersion": "20",
|
2023-01-24 16:42:47 +03:00
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
2022-07-14 05:45:51 +03:00
|
|
|
"sourceMaps": true,
|
2024-09-02 19:12:04 +03:00
|
|
|
"outputCapture": "std",
|
2022-07-14 05:45:51 +03:00
|
|
|
"cwd": "${workspaceRoot}/pods/account",
|
|
|
|
"protocol": "inspector"
|
|
|
|
},
|
2024-10-29 08:57:28 +03:00
|
|
|
{
|
|
|
|
"name": "Debug Stats",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/__start.ts"],
|
|
|
|
"env": {
|
|
|
|
"PORT": "4900",
|
|
|
|
"SERVER_SECRET": "secret",
|
|
|
|
},
|
|
|
|
"runtimeVersion": "20",
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"outputCapture": "std",
|
|
|
|
"cwd": "${workspaceRoot}/pods/stats",
|
|
|
|
"protocol": "inspector"
|
|
|
|
},
|
2024-09-02 19:12:04 +03:00
|
|
|
{
|
|
|
|
"name": "Debug Workspace",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/__start.ts"],
|
|
|
|
"env": {
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
2024-10-22 17:42:40 +03:00
|
|
|
"DB_URL": "mongodb://localhost:27017",
|
|
|
|
"REGION": "",
|
|
|
|
// "DB_URL": "postgresql://postgres:example@localhost:5432",
|
2024-09-02 19:12:04 +03:00
|
|
|
"SERVER_SECRET": "secret",
|
|
|
|
"TRANSACTOR_URL": "ws://localhost:3333",
|
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
|
|
|
"FRONT_URL": "http://localhost:8080",
|
|
|
|
"SES_URL": "",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost",
|
2024-09-25 07:27:45 +03:00
|
|
|
"MODEL_VERSION": "v0.6.287"
|
2024-09-02 19:12:04 +03:00
|
|
|
// "INIT_SCRIPT_URL": "https://raw.githubusercontent.com/hcengineering/init/main/script.yaml",
|
|
|
|
// "INIT_WORKSPACE": "onboarding",
|
|
|
|
},
|
|
|
|
"runtimeVersion": "20",
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"outputCapture": "std",
|
|
|
|
"cwd": "${workspaceRoot}/pods/workspace",
|
|
|
|
"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",
|
2024-09-20 11:59:10 +03:00
|
|
|
"args": ["src/__start.ts", "backup", "../temp/backup-test", "platform", "--force"],
|
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",
|
2024-09-20 11:59:10 +03:00
|
|
|
"SERVER_SECRET": "secret",
|
2022-05-23 18:53:33 +03:00
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
2024-09-20 11:59:10 +03:00
|
|
|
"ACCOUNTS_URL": "http://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",
|
2024-09-17 09:02:35 +03:00
|
|
|
"protocol": "inspector",
|
|
|
|
"outputCapture": "std",
|
|
|
|
"runtimeVersion": "20",
|
|
|
|
"showAsyncStacks": true,
|
2022-10-20 10:04:46 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug tool upgrade",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2024-09-17 19:26:46 +03:00
|
|
|
"args": ["src/__start.ts", "upgrade", "--force"],
|
2024-09-11 11:31:26 +03:00
|
|
|
"env": {
|
|
|
|
"SERVER_SECRET": "secret",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost:9000",
|
|
|
|
"TRANSACTOR_URL": "ws://localhost:3333",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
|
|
|
"ACCOUNTS_URL": "http://localhost:3000",
|
|
|
|
"TELEGRAM_DATABASE": "telegram-service",
|
|
|
|
"ELASTIC_URL": "http://localhost:9200",
|
2024-10-01 09:44:49 +03:00
|
|
|
"REKONI_URL": "http://localhost:4004",
|
|
|
|
"MODEL_VERSION": "0.6.287"
|
2024-09-11 11:31:26 +03:00
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"outputCapture": "std",
|
|
|
|
"cwd": "${workspaceRoot}/dev/tool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug tool move",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/__start.ts", "move-to-pg"],
|
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-09-11 11:31:26 +03:00
|
|
|
"DB_URL": "postgresql://postgres:example@localhost:5432",
|
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"
|
|
|
|
},
|
2024-09-09 20:32:51 +03:00
|
|
|
"runtimeVersion": "20",
|
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",
|
2024-09-23 12:05:38 +03:00
|
|
|
"STORAGE": "minio|localhost?accessKey=minioadmin&secretKey=minioadmin",
|
|
|
|
"WORKSPACE_STORAGE": "minio|localhost?accessKey=minioadmin&secretKey=minioadmin",
|
|
|
|
"MONGO_URL": "mongodb://localhost:27017",
|
2023-03-15 09:39:12 +03:00
|
|
|
"SECRET": "secret",
|
2024-09-23 12:05:38 +03:00
|
|
|
"BUCKET_NAME":"backups",
|
|
|
|
"INTERVAL":"30",
|
2023-03-15 09:39:12 +03:00
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"showAsyncStacks": true,
|
|
|
|
"sourceMaps": true,
|
2024-09-23 12:05:38 +03:00
|
|
|
"outputCapture": "std",
|
2023-03-15 09:39:12 +03:00
|
|
|
"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",
|
2024-10-17 16:13:22 +03:00
|
|
|
"STORAGE_CONFIG": "minio|localhost?accessKey=minioadmin&secretKey=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-10-09 10:46:48 +03:00
|
|
|
"PORT": "4017",
|
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",
|
2024-09-19 18:35:18 +03:00
|
|
|
"PORT": "4010",
|
2024-08-06 17:40:13 +03:00
|
|
|
"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",
|
2024-09-03 18:21:35 +03:00
|
|
|
"SERVICE_ID": "telegram-bot-service",
|
|
|
|
"MINIO_ACCESS_KEY": "minioadmin",
|
|
|
|
"MINIO_SECRET_KEY": "minioadmin",
|
|
|
|
"MINIO_ENDPOINT": "localhost"
|
2024-08-14 19:13:26 +03:00
|
|
|
},
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"runtimeVersion": "20",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"cwd": "${workspaceRoot}/services/telegram-bot/pod-telegram-bot"
|
2024-09-02 19:11:39 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "chrome",
|
|
|
|
"name": "Attach to Browser",
|
|
|
|
"request": "attach",
|
|
|
|
"urlFilter": "http://localhost:8080/*",
|
|
|
|
"port": 9222,
|
|
|
|
"sourceMapPathOverrides": {
|
|
|
|
"webpack://*": "${workspaceFolder}/*",
|
|
|
|
}
|
|
|
|
},
|
2024-10-29 16:05:32 +03:00
|
|
|
{
|
|
|
|
"name": "Debug Notion import",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/__start.ts", "import-notion-to-teamspace", "/home/anna/work/notion/natalya/Export-fad9ecb4-a1a5-4623-920d-df32dd423743", "-u", "user1", "-pw", "1234", "-ws", "ws5", "-ts", "notion", ],
|
|
|
|
// "args": ["src/__start.ts", "import-notion-with-teamspaces", "/home/anna/work/notion/natalya/Export-fad9ecb4-a1a5-4623-920d-df32dd423743", "-u", "user1", "-pw", "1234", "-ws", "ws1"],
|
|
|
|
"env": {
|
|
|
|
"FRONT_URL": "http://localhost:8087",
|
|
|
|
},
|
|
|
|
"runtimeVersion": "20",
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"outputCapture": "std",
|
|
|
|
"cwd": "${workspaceRoot}/dev/import-tool"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug ClickUp import",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"args": ["src/__start.ts", "import-clickup-tasks", "/home/anna/work/clickup/aleksandr/debug/mentions.csv", "-u", "user1", "-pw", "1234", "-ws", "ws5"],
|
|
|
|
"env": {
|
|
|
|
"FRONT_URL": "http://localhost:8087",
|
|
|
|
},
|
|
|
|
"runtimeVersion": "20",
|
|
|
|
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
|
|
|
|
"sourceMaps": true,
|
|
|
|
"outputCapture": "std",
|
|
|
|
"cwd": "${workspaceRoot}/dev/import-tool"
|
|
|
|
},
|
2021-11-22 14:17:10 +03:00
|
|
|
]
|
2023-01-24 16:42:47 +03:00
|
|
|
}
|