config: switch datasource to PostgreSQL, add OpenSearch and Flyway config
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,10 +3,13 @@ server:
|
|||||||
|
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:ch://localhost:8123/cameleer3
|
url: jdbc:postgresql://localhost:5432/cameleer3
|
||||||
username: cameleer
|
username: cameleer
|
||||||
password: cameleer_dev
|
password: ${CAMELEER_DB_PASSWORD:cameleer_dev}
|
||||||
driver-class-name: com.clickhouse.jdbc.ClickHouseDriver
|
driver-class-name: org.postgresql.Driver
|
||||||
|
flyway:
|
||||||
|
enabled: true
|
||||||
|
locations: classpath:db/migration
|
||||||
mvc:
|
mvc:
|
||||||
async:
|
async:
|
||||||
request-timeout: -1
|
request-timeout: -1
|
||||||
@@ -29,8 +32,14 @@ ingestion:
|
|||||||
batch-size: 5000
|
batch-size: 5000
|
||||||
flush-interval-ms: 1000
|
flush-interval-ms: 1000
|
||||||
|
|
||||||
clickhouse:
|
opensearch:
|
||||||
ttl-days: 30
|
url: ${OPENSEARCH_URL:http://localhost:9200}
|
||||||
|
queue-size: ${CAMELEER_OPENSEARCH_QUEUE_SIZE:10000}
|
||||||
|
debounce-ms: ${CAMELEER_OPENSEARCH_DEBOUNCE_MS:2000}
|
||||||
|
|
||||||
|
cameleer:
|
||||||
|
body-size-limit: ${CAMELEER_BODY_SIZE_LIMIT:16384}
|
||||||
|
retention-days: ${CAMELEER_RETENTION_DAYS:30}
|
||||||
|
|
||||||
security:
|
security:
|
||||||
access-token-expiry-ms: 3600000
|
access-token-expiry-ms: 3600000
|
||||||
|
|||||||
@@ -1,18 +1,5 @@
|
|||||||
spring:
|
spring:
|
||||||
datasource:
|
flyway:
|
||||||
url: jdbc:ch://placeholder:8123/cameleer3
|
enabled: true
|
||||||
username: default
|
opensearch:
|
||||||
password: ""
|
url: http://localhost:9200
|
||||||
driver-class-name: com.clickhouse.jdbc.ClickHouseDriver
|
|
||||||
|
|
||||||
ingestion:
|
|
||||||
buffer-capacity: 100
|
|
||||||
batch-size: 10
|
|
||||||
flush-interval-ms: 100
|
|
||||||
|
|
||||||
agent-registry:
|
|
||||||
ping-interval-ms: 1000
|
|
||||||
|
|
||||||
security:
|
|
||||||
bootstrap-token: test-bootstrap-token
|
|
||||||
bootstrap-token-previous: old-bootstrap-token
|
|
||||||
|
|||||||
Reference in New Issue
Block a user