-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22bbf6a
commit f908dcb
Showing
5 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM n3uronhub/n3uron:v1.21.4-amd64 | ||
|
||
COPY entrypoint.sh /usr/local/bin/ | ||
RUN chmod +x /usr/local/bin/entrypoint.sh | ||
|
||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] | ||
CMD [ "/opt/n3uron/bin/n3uron", "start", "bootstrap" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: N3uron Industrial IoT Platform | ||
type: sw.block | ||
version: 1.21.4 | ||
|
||
description: >- | ||
N3uron is an Industrial Edge Platform for DataOps that streamlines the flow of data between industrial devices | ||
and business applications, either on-premise or in the cloud. N3uron provides an out-of-the-box solution for | ||
data standardization, normalization and contextualization, seamless integration with industrial and IT systems, | ||
efficient information management, and unparalleled scalability and security. | ||
assets: | ||
repository: | ||
type: blob.asset | ||
data: | ||
url: https://github.com/n3uron/n3uron-balenablock-amd64 | ||
logo: | ||
type: blob.asset | ||
data: | ||
url: https://raw.githubusercontent.com/n3uron/n3uron-balena/main/logo.png | ||
data: | ||
applicationEnvironmentVariables: | ||
- HOSTNAME: balena-edge01 | ||
defaultDeviceType: genericx86-64-ext | ||
supportedDeviceTypes: | ||
- genericx86-64-ext | ||
- intel-nuc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: '2' | ||
|
||
services: | ||
n3uron: | ||
build: . | ||
ports: | ||
- "80:8003" | ||
environment: | ||
- HOSTNAME=balena01 | ||
volumes: | ||
- config:/opt/n3uron/config | ||
- data:/opt/n3uron/data | ||
- licenses:/opt/n3uron/licenses | ||
- log:/opt/n3uron/log | ||
cap_add: | ||
- SYS_ADMIN | ||
restart: always | ||
|
||
volumes: | ||
config: | ||
data: | ||
licenses: | ||
log: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
if [[ -z "$HOSTNAME" ]]; then | ||
echo "HOSTNAME environment variable not set. Using default hostname." | ||
else | ||
echo "Setting hostname to $HOSTNAME" | ||
hostname "$HOSTNAME" | ||
fi | ||
|
||
exec "$@" |