Skip to content

Commit

Permalink
update tms service to use loopback.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Jan 21, 2024
1 parent eb17663 commit e363b2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion services/totaljs-messageservice/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
const options = {};

options.port = process.env.SERVICE_PORT || 8110
options.ip = "0.0.0.0"
// options.ip = "0.0.0.0"
// options.unixsocket = require('path').join(require('os').tmpdir(), 'app_name');
// options.unixsocket777 = true;
// options.config = { name: 'Total.js' };
Expand Down
2 changes: 1 addition & 1 deletion services/totaljs-messageservice/service.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"default": "index.js"
},
"globalenv": {
"MESSAGESERVICE_URL": "http://localhost:${SERVICE_PORT}",
"MESSAGESERVICE_URL": "http://127.0.0.1:${SERVICE_PORT}",
"MESSAGESERVICE_PORT": "${SERVICE_PORT}"
},
"env": {
Expand Down
4 changes: 2 additions & 2 deletions src/data/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
"MONGO_PORT": "8180",
"NGINX_URL": "http://localhost:8114",
"NGINX_PORT": "8114",
"MESSAGESERVICE_URL": "http://localhost:8112",
"MESSAGESERVICE_URL": "http://127.0.0.1:8112",
"MESSAGESERVICE_PORT": "8112",
"TYPEDB_DB": "typerefinery",
"TYPEDB_PORT": "8729",
Expand Down Expand Up @@ -546,7 +546,7 @@
"MONGO_PORT": "8180",
"NGINX_URL": "http://localhost:8114",
"NGINX_PORT": "8114",
"MESSAGESERVICE_URL": "http://localhost:8112",
"MESSAGESERVICE_URL": "http://127.0.0.1:8112",
"MESSAGESERVICE_PORT": "8112",
"TYPEDB_DB": "typerefinery",
"TYPEDB_PORT": "8729",
Expand Down

0 comments on commit e363b2d

Please sign in to comment.