node-opcua-local-discovery-server 2.96.0 → 2.98.1
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.
- package/package.json +5 -4
- package/Dockerfile +0 -14
- package/NOTES.md +0 -30
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-local-discovery-server",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "pure nodejs OPCUA SDK - local-discovery-server",
|
|
3
|
+
"version": "2.98.1",
|
|
4
|
+
"description": "pure nodejs OPCUA SDK - module local-discovery-server",
|
|
5
5
|
"bin": {
|
|
6
6
|
"lds": "./bin/local-discovery-server.js",
|
|
7
7
|
"local-discovery-server": "./bin/local-discovery-server.js",
|
|
@@ -28,11 +28,12 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"env-paths": "2.2.1",
|
|
31
|
-
"node-opcua": "2.
|
|
31
|
+
"node-opcua": "2.98.1",
|
|
32
32
|
"vorpal": "^1.12.0",
|
|
33
33
|
"vorpal-repl": "^1.1.8",
|
|
34
34
|
"yargs": "15.4.1"
|
|
35
35
|
},
|
|
36
36
|
"homepage": "http://node-opcua.github.io/",
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "07dcdd8e8c7f2b55544c6e23023093e35674829c",
|
|
38
|
+
"files": []
|
|
38
39
|
}
|
package/Dockerfile
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
FROM node:alpine
|
|
2
|
-
RUN apk add openssl
|
|
3
|
-
WORKDIR /root
|
|
4
|
-
COPY package.json .
|
|
5
|
-
RUN npm init -y && npm install
|
|
6
|
-
ENV HOSTNAME=%fqdn%
|
|
7
|
-
EXPOSE 4840/tcp
|
|
8
|
-
# expose mDNS bonjour port for zero conf
|
|
9
|
-
EXPOSE 5353/udp
|
|
10
|
-
COPY ./bin/local-discovery-server.js .
|
|
11
|
-
RUN which node
|
|
12
|
-
ENTRYPOINT ["/usr/local/bin/node" , "/root/local-discovery-server.js"]
|
|
13
|
-
CMD [""]
|
|
14
|
-
# docker run -it -p 4840:4840 -v c:\temp\_config:/root/.config lds
|
package/NOTES.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
## Notes
|
|
2
|
-
|
|
3
|
-
### updating the docker image to hub.docker.com
|
|
4
|
-
|
|
5
|
-
- login to docker
|
|
6
|
-
|
|
7
|
-
```
|
|
8
|
-
$ docker login --username=_your_hub_username --email=youremail@company.com
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
- check docker image id
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
$ docker images list
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
- build docker image (with tag lds)
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
$ npm run docker-build
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
- push image
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
$ docker tag lds sterfive/lds:1.0
|
|
29
|
-
$ docker push sterfive/lds:1.0
|
|
30
|
-
```
|