summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJasper Miller-Waugh <[email protected]>2021-08-08 12:20:31 +1200
committerGitHub <[email protected]>2021-08-07 17:20:31 -0700
commit5280e8850c164d60450288d9c2c3a7fa3d0a5f16 (patch)
tree3c6d9c46baaef45f9eb1304d4992cb7a6a5158b6
parent70e69a19ac3c9473d58e9d29b2f55c1a2c4a5773 (diff)
downloadcaprover-one-click-apps-5280e8850c164d60450288d9c2c3a7fa3d0a5f16.tar.gz
caprover-one-click-apps-5280e8850c164d60450288d9c2c3a7fa3d0a5f16.zip
Added ThingsBoard - Postgres (#474)
* Added ThingsBoard - Postgres * Reformatted thingsboard-postgres * Fixed typos thingsboard-postgres
-rwxr-xr-xpublic/v4/apps/thingsboard-postgres.yml41
-rw-r--r--public/v4/logos/thingsboard-postgres.pngbin0 -> 9675 bytes
2 files changed, 41 insertions, 0 deletions
diff --git a/public/v4/apps/thingsboard-postgres.yml b/public/v4/apps/thingsboard-postgres.yml
new file mode 100755
index 0000000..29ad9df
--- /dev/null
+++ b/public/v4/apps/thingsboard-postgres.yml
@@ -0,0 +1,41 @@
+captainVersion: 4
+services:
+ '$$cap_appname':
+ image: 'thingsboard/tb-postgres:$$cap_version'
+ ports:
+ - '$$mqtt_port:1883'
+ - '$$coap_port:5683'
+ environment:
+ TB_QUEUE_TYPE: in-memory
+ volumes:
+ - '$$cap_appname-data:/data'
+ - '$$cap_appname-logs:/var/log/thingsboard'
+ caproverExtra:
+ containerHttpPort: '9090'
+caproverOneClickApp:
+ variables:
+ - id: '$$cap_version'
+ label: ThingsBoard Version
+ defaultValue: '3.2.2'
+ description: Check out their Docker page for the valid tags hhttps://hub.docker.com/r/thingsboard/tb-postgres/tags
+ validRegex: "/^([^\\s^\\/])+$/"
+ - id: '$$mqtt_port'
+ label: MQTT device API port
+ defaultValue: '1883'
+ description: Choose what port to expose the MQTT device API on.
+ validRegex: '/^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/'
+ - id: '$$coap_port'
+ label: COAP device API port
+ defaultValue: '5683'
+ description: Choose what port to expose the COAP device API on.
+ validRegex: '/^([0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$/'
+ instructions:
+ start: |-
+ ThingsBoard is an open-source IoT platform for data collection, processing, visualization, and device management.
+
+ More details: https://thingsboard.io/
+ end: |-
+ ThingsBoard has been successfully deployed! Make sure to port forward $$mqtt_port and $$coap_port.
+ displayName: ThingsBoard - Postgres
+ description: ThingsBoard is an open-source IoT platform for data collection, processing, visualization, device management, with an integrated Postgres database.
+ documentation: See https://thingsboard.io/docs/user-guide/install/docker/
diff --git a/public/v4/logos/thingsboard-postgres.png b/public/v4/logos/thingsboard-postgres.png
new file mode 100644
index 0000000..b2d2d13
--- /dev/null
+++ b/public/v4/logos/thingsboard-postgres.png
Binary files differ