LogoLogo
  • What is Kouncil?
  • Getting started
    • Installation
      • Deployment
      • Development
    • Configuration
      • Authentication
        • Local authentication
        • LDAP, LDAPS and AD authentication
        • SSO
          • GitHub
          • Okta
      • Authorization
      • SSL/TLS Configuration
        • Configuration
        • Kafka
          • TLS configuration
          • Broker SSL configuration
          • AWS MSK configuration
        • Schema Registry
          • SSL Configuration
          • SSL and Basic authentication
      • JMX
      • Logging
      • Websocket
      • Custom context path
      • Database
    • Features
    • FAQ
    • Roadmap
Powered by GitBook
On this page
  • Configuration properties
  • Example
Export as PDF
  1. Getting started
  2. Configuration

Database

Currently, Kouncil supports two databases:

  • PostgreSQL

  • H2

If no database is specified with below properties, H2 in-memory database will be used.

Configuration properties

  • spring.datasource.url JDBC URL of the database

  • spring.datasource.username login username of the database

  • spring.datasource.password login password of the database

  • spring.jpa.hibernate.default_schema sets default schema

Example

spring:
  datasource:
    url: jdbc:postgresql://localhost:5432/
    username: postgres
    password: password
  jpa:
    hibernate:
      default_schema: kouncil
PreviousCustom context pathNextFeatures

Last updated 6 months ago