@ethernity-cloud/sdk-js 1.6.0 → 1.6.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/nodenithy/run/docker-compose-final.yml.tmpl +5 -1
- package/nodenithy/run/docker-compose.yml.tmpl +5 -1
- package/package.json +1 -1
- package/pynithy/build/docker-compose.yml +3 -1
- package/pynithy/run/docker-compose-final.yml +1 -1
- package/pynithy/run/docker-compose-final.yml.tmpl +5 -1
- package/pynithy/run/docker-compose.yml +1 -1
- package/pynithy/run/docker-compose.yml.tmpl +5 -1
|
@@ -5,7 +5,11 @@ services:
|
|
|
5
5
|
privileged: true
|
|
6
6
|
image: localhost:5000/etny-las
|
|
7
7
|
entrypoint: "/las_entrypoint.sh"
|
|
8
|
-
|
|
8
|
+
# -a 0.0.0.0: without it the LAS binds dual-stack (:::18766) and cannot
|
|
9
|
+
# allocate the socket on a host booted with ipv6.disable=1, so it
|
|
10
|
+
# crash-loops and every task on that node times out with no attestation.
|
|
11
|
+
# The enclaves reach it over IPv4 either way.
|
|
12
|
+
command: "/usr/local/bin/las -a 0.0.0.0"
|
|
9
13
|
networks:
|
|
10
14
|
- ethernity
|
|
11
15
|
devices:
|
|
@@ -12,7 +12,11 @@ services:
|
|
|
12
12
|
privileged: true
|
|
13
13
|
image: localhost:5000/etny-las
|
|
14
14
|
entrypoint: "/las_entrypoint.sh"
|
|
15
|
-
|
|
15
|
+
# -a 0.0.0.0: without it the LAS binds dual-stack (:::18766) and cannot
|
|
16
|
+
# allocate the socket on a host booted with ipv6.disable=1, so it
|
|
17
|
+
# crash-loops and every task on that node times out with no attestation.
|
|
18
|
+
# The enclaves reach it over IPv4 either way.
|
|
19
|
+
command: "/usr/local/bin/las -a 0.0.0.0"
|
|
16
20
|
restart: on-failure
|
|
17
21
|
ports:
|
|
18
22
|
- target: 18766
|
package/package.json
CHANGED
|
@@ -5,7 +5,9 @@ services:
|
|
|
5
5
|
privileged: true
|
|
6
6
|
image: etny-las
|
|
7
7
|
entrypoint: "/las_entrypoint.sh"
|
|
8
|
-
|
|
8
|
+
# -a 0.0.0.0: without it the LAS binds dual-stack (:::18766) and cannot
|
|
9
|
+
# allocate the socket on a host booted with ipv6.disable=1.
|
|
10
|
+
command: "/usr/local/bin/las -a 0.0.0.0"
|
|
9
11
|
devices:
|
|
10
12
|
- "/dev/sgx_enclave:/dev/sgx_enclave"
|
|
11
13
|
restart: on-failure
|
|
@@ -5,7 +5,7 @@ services:
|
|
|
5
5
|
privileged: true
|
|
6
6
|
image: localhost:5000/etny-las
|
|
7
7
|
entrypoint: "/las_entrypoint.sh"
|
|
8
|
-
command: "bash -c '/las_entrypoint.sh && /usr/local/bin/las | tee /var/log/las.log'"
|
|
8
|
+
command: "bash -c '/las_entrypoint.sh && /usr/local/bin/las -a 0.0.0.0 | tee /var/log/las.log'"
|
|
9
9
|
restart: unless-stopped
|
|
10
10
|
networks:
|
|
11
11
|
- ethernity
|
|
@@ -5,7 +5,11 @@ services:
|
|
|
5
5
|
privileged: true
|
|
6
6
|
image: localhost:5000/etny-las
|
|
7
7
|
entrypoint: "/las_entrypoint.sh"
|
|
8
|
-
|
|
8
|
+
# -a 0.0.0.0: without it the LAS binds dual-stack (:::18766) and cannot
|
|
9
|
+
# allocate the socket on a host booted with ipv6.disable=1, so it
|
|
10
|
+
# crash-loops and every task on that node times out with no
|
|
11
|
+
# attestation. The enclaves reach it over IPv4 either way.
|
|
12
|
+
command: "bash -c '/las_entrypoint.sh && /usr/local/bin/las -a 0.0.0.0 | tee /var/log/las.log'"
|
|
9
13
|
devices:
|
|
10
14
|
- "/dev/sgx_enclave:/dev/sgx_enclave"
|
|
11
15
|
restart: unless-stopped
|
|
@@ -4,7 +4,7 @@ services:
|
|
|
4
4
|
container_name: las
|
|
5
5
|
privileged: true
|
|
6
6
|
image: localhost:5000/etny-las
|
|
7
|
-
command: "bash -c '/las_entrypoint.sh && /usr/local/bin/las | tee /var/log/las.log'"
|
|
7
|
+
command: "bash -c '/las_entrypoint.sh && /usr/local/bin/las -a 0.0.0.0 | tee /var/log/las.log'"
|
|
8
8
|
devices:
|
|
9
9
|
- "/dev/sgx_enclave:/dev/sgx_enclave"
|
|
10
10
|
restart: unless-stopped
|
|
@@ -11,7 +11,11 @@ services:
|
|
|
11
11
|
container_name: las
|
|
12
12
|
privileged: true
|
|
13
13
|
image: localhost:5000/etny-las
|
|
14
|
-
|
|
14
|
+
# -a 0.0.0.0: without it the LAS binds dual-stack (:::18766) and cannot
|
|
15
|
+
# allocate the socket on a host booted with ipv6.disable=1, so it
|
|
16
|
+
# crash-loops and every task on that node times out with no
|
|
17
|
+
# attestation. The enclaves reach it over IPv4 either way.
|
|
18
|
+
command: "bash -c '/las_entrypoint.sh && /usr/local/bin/las -a 0.0.0.0 | tee /var/log/las.log'"
|
|
15
19
|
restart: unless-stopped
|
|
16
20
|
ports:
|
|
17
21
|
- target: 18766
|