3 changed files with 129 additions and 0 deletions
@ -0,0 +1,51 @@ |
|||
# |
|||
# Copyright © 2016-2026 The Thingsboard Authors |
|||
# |
|||
# Licensed under the Apache License, Version 2.0 (the "License"); |
|||
# you may not use this file except in compliance with the License. |
|||
# You may obtain a copy of the License at |
|||
# |
|||
# http://www.apache.org/licenses/LICENSE-2.0 |
|||
# |
|||
# Unless required by applicable law or agreed to in writing, software |
|||
# distributed under the License is distributed on an "AS IS" BASIS, |
|||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|||
# See the License for the specific language governing permissions and |
|||
# limitations under the License. |
|||
# |
|||
|
|||
# Lightweight startup for OpenAPI spec generation. |
|||
# Activated only via: --spring.profiles.active=openapi |
|||
|
|||
spring.main.banner-mode=off |
|||
|
|||
# Testcontainers PostgreSQL |
|||
database.ts.type=sql |
|||
database.ts_latest.type=sql |
|||
spring.datasource.url=jdbc:tc:postgresql:16.6:///thingsboard?TC_DAEMON=true&TC_TMPFS=/testtmpfs:rw&?TC_INITFUNCTION=org.thingsboard.server.dao.PostgreSqlInitializer::initDb |
|||
spring.datasource.driverClassName=org.testcontainers.jdbc.ContainerDatabaseDriver |
|||
spring.datasource.username=postgres |
|||
spring.datasource.password=postgres |
|||
spring.datasource.hikari.maximumPoolSize=5 |
|||
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true |
|||
spring.jpa.properties.hibernate.order_by.default_null_ordering=last |
|||
spring.jpa.show-sql=false |
|||
spring.jpa.hibernate.ddl-auto=none |
|||
|
|||
# Disable transports |
|||
transport.http.enabled=false |
|||
transport.mqtt.enabled=false |
|||
transport.coap.enabled=false |
|||
transport.lwm2m.enabled=false |
|||
transport.snmp.enabled=false |
|||
coap.server.enabled=false |
|||
|
|||
# Disable edges, integrations, EDQS |
|||
edges.enabled=false |
|||
integrations.rpc.enabled=false |
|||
service.integrations.supported=NONE |
|||
transport.gateway.dashboard.sync.enabled=false |
|||
queue.edqs.sync.enabled=false |
|||
queue.edqs.api.supported=false |
|||
usage.stats.report.enabled=false |
|||
service.type=monolith |
|||
Loading…
Reference in new issue