Moved some projects to archive

This commit is contained in:
WilliamMiceli
2019-08-20 18:05:00 -04:00
parent c4f0892487
commit 0ff0c5ca5a
29 changed files with 0 additions and 151 deletions

View File

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 49 KiB

View File

@@ -1 +0,0 @@
# Thingsboard

View File

@@ -1,49 +0,0 @@
version: '2'
services:
tb:
image: "thingsboard/application:1.2.4"
ports:
- "${http_public_port}:8080"
- "${mqtt_public_port}:1883"
- "${coap_public_port}:5683/udp"
environment:
- MQTT_BIND_ADDRESS=0.0.0.0
- MQTT_BIND_PORT=1883
- COAP_BIND_ADDRESS=0.0.0.0
- COAP_BIND_PORT=5683
- ZOOKEEPER_URL=zk:2181
- DATABASE_TYPE=${database_type}
{{- if eq .Values.database_type "cassandra" }}
- CASSANDRA_URL=db:9042
- CASSANDRA_HOST=db
- CASSANDRA_PORT=9042
{{- else }}
- POSTGRES_HOST=db
- POSTGRES_PORT=5432
{{- end }}
- ADD_SCHEMA_AND_SYSTEM_DATA=${add_schema_and_system_data}
- ADD_DEMO_DATA=${add_demo_data}
volumes:
- hsqldb_data_dir:/usr/share/thingsboard/data/sql
links:
- db:db
external_links:
- ${zookeeper_service}:zk
entrypoint: /run-application.sh
db:
{{- if eq .Values.database_type "cassandra" }}
image: "cassandra:3"
volumes:
- db_data_dir:/var/lib/cassandra
{{- else }}
image: "postgres:9.6"
environment:
- POSTGRES_DB=${postgres_db}
volumes:
- db_data_dir:/var/lib/postgresql/data
{{- end }}
volumes:
hsqldb_data_dir:
driver: ${volume_driver}
db_data_dir:
driver: ${volume_driver}

View File

@@ -1,93 +0,0 @@
version: '2'
catalog:
name: Thingsboard
version: latest
# description:
# minimum_rancher_version:
# maximum_rancher_version:
# upgrade_from:
uuid: Thingsboard-1
questions:
- variable: http_public_port
description: "Thingsboard dashboard published port"
label: "Http public port"
required: true
default: "8080"
type: int
- variable: mqtt_public_port
description: "MQTT published port"
label: "MQTT public port"
required: true
default: "1883"
type: int
- variable: coap_public_port
description: "COAP published port"
label: "COAP public port"
required: true
default: "5683"
type: int
- variable: database_type
description: "Choose database type to use: sql or cassandra"
label: "Database type"
required: true
default: "sql"
type: enum
options:
- sql
- cassandra
- variable: add_schema_and_system_data
description: "Whether to init scheme and system data"
label: "Add schema and system data"
required: true
default: true
type: boolean
- variable: add_demo_data
description: "Whether to insert demo data"
label: "Add demo data"
required: true
default: true
type: boolean
- variable: zookeeper_service
description: "Zookeeper service stack"
label: "Zookeeper service"
required: true
default: "zookeeper/zk"
type: "service"
- variable: postgres_db
description: "Database name in postgresql"
label: "Dbname"
required: true
default: "thingsboard"
type: string
- variable: volume_driver
description: "Volume driver to use with this service"
label: "Volume driver"
required: true
default: "local"
type: enum
options:
- local
- rancher-nfs
- rancher-efs
- rancher-ebs
services:
tb:
scale: 1
retain_ip: true
health_check:
port: 8080
interval: 5000
unhealthy_threshold: 3
request_line: 'GET / HTTP/1.0'
healthy_threshold: 2
response_timeout: 5000

View File

@@ -1,8 +0,0 @@
name: Thingsboard
description: |
Status: NOT READY
# version:
category: Analytics
maintainer: WilliamMiceli
# license:
# projectURL: