@things-factory/operato-ecs 6.0.73 → 6.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
|
|
1
1
|
module.exports = {
|
2
2
|
subdomain: 'system',
|
3
3
|
SECRET: '0xD58F835B69C217A76CA5FA4a70a1D0d4D79dAC64', // temporary...
|
4
|
+
accessTokenCookieKey: 'access_token.ecs',
|
4
5
|
email: {
|
5
6
|
host: 'smtp.office365.com', // your sender-email smtp host
|
6
7
|
port: 587, // smtp server port
|
@@ -45,5 +46,17 @@ module.exports = {
|
|
45
46
|
password: 'abcd1234',
|
46
47
|
synchronize: true,
|
47
48
|
logging: true
|
48
|
-
}
|
49
|
+
},
|
50
|
+
scheduler: {
|
51
|
+
/* Name to be used for setting client's "application" properties when registering a schedule */
|
52
|
+
application: 'operato-ecs',
|
53
|
+
/* Base endpoint to be used for setting "callback" properties when registering a schedule */
|
54
|
+
callbackBase: 'http://app:3000',
|
55
|
+
/*
|
56
|
+
Scheduler service endpoint
|
57
|
+
caution) endpoint for "localhost" has some problem.
|
58
|
+
https://github.com/node-fetch/node-fetch/issues/1624
|
59
|
+
*/
|
60
|
+
endpoint: 'http://scheduler:9902'
|
61
|
+
},
|
49
62
|
}
|
@@ -7,7 +7,6 @@ services:
|
|
7
7
|
depends_on:
|
8
8
|
- app
|
9
9
|
app:
|
10
|
-
build: .
|
11
10
|
container_name: operato-ecs
|
12
11
|
image: hatiolab/operato-ecs:latest
|
13
12
|
privileged: true
|
@@ -19,6 +18,7 @@ services:
|
|
19
18
|
depends_on:
|
20
19
|
- postgres
|
21
20
|
- mosquitto
|
21
|
+
- scheduler
|
22
22
|
postgres:
|
23
23
|
image: postgres:13.2
|
24
24
|
container_name: db-operato-ecs
|
@@ -35,3 +35,11 @@ services:
|
|
35
35
|
ports:
|
36
36
|
- 1883:1883
|
37
37
|
- 9001:9001
|
38
|
+
|
39
|
+
scheduler:
|
40
|
+
image: hatiolab/schevt-mgr:latest
|
41
|
+
container_name: scheduler
|
42
|
+
volumes:
|
43
|
+
- ./config.yaml:/app/config.yaml
|
44
|
+
ports:
|
45
|
+
- '9902:9902'
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@things-factory/operato-ecs",
|
3
|
-
"version": "6.0.
|
3
|
+
"version": "6.0.74",
|
4
4
|
"main": "dist-server/index.js",
|
5
5
|
"browser": "client/index.js",
|
6
6
|
"things-factory": true,
|
@@ -79,5 +79,5 @@
|
|
79
79
|
"devDependencies": {
|
80
80
|
"@things-factory/builder": "^6.0.71"
|
81
81
|
},
|
82
|
-
"gitHead": "
|
82
|
+
"gitHead": "a2543e723bf9d22907129352567680e1aa1a263a"
|
83
83
|
}
|