apiVersion: v1
kind: ConfigMap
metadata:
  name: tb-node-db-config
  namespace: thingsboard
  labels:
    name: tb-node-db-config
data:
  SPRING_JPA_DATABASE_PLATFORM: org.hibernate.dialect.PostgreSQLDialect
  SPRING_DRIVER_CLASS_NAME: org.postgresql.Driver
  SPRING_DATASOURCE_URL: jdbc:postgresql://tb-database:5432/thingsboard
  SPRING_DATASOURCE_USERNAME: postgres
  SPRING_DATASOURCE_PASSWORD: postgres
  DATABASE_TS_TYPE: cassandra
  CASSANDRA_URL: cassandra:9042
  CASSANDRA_SOCKET_READ_TIMEOUT: "60000"
