Files
cybertron/configs/application.yml

89 lines
1.5 KiB
YAML
Raw Normal View History

port: PORT
name: NAME
env: ENV
2024-07-23 14:16:26 +05:30
metrics:
port: METRICS_PORT
2024-07-23 14:16:26 +05:30
timezone: Asia/Kolkata
#DB config
db:
connection:
max:
lifetime: 3600s
idle:
time: 300s
connections:
max:
idle: 10
open: 300
username: DB_USERNAME
password: DB_PASSWORD
host: DB_HOST
2024-07-23 14:16:26 +05:30
port: 5432
name: DB_NAME
2024-07-23 14:16:26 +05:30
ssl:
mode: disable
#Prometheus config
prometheus:
app.name: PROMETHEUS_APP_NAME
host: PROMETHEUS_HOST
port: PROMETHEUS_POST
2024-07-23 14:16:26 +05:30
enabled: true
timeout: 10
flush.interval.in.ms: 200
histogram.buckets: 50.0,75.0,90.0,95.0,99.0
http:
max:
idle.connection.pool: 200
connection: 200
idle.timeout.seconds: 10
# Kafka config
kafka:
password: KAFKA_PASSWORD
username: KAFKA_USERNAME
brokers: KAFKA_BROKERS
group:
names: KAFKA_GROUP
topics: KAFKA_TOPICS
tls:
insecureSkipVerify: true
enabled: false
sasl:
enabled: true
consumer:
batch.size: 1
goroutines.max.pool.size: 20
max.timeout.ms: 300
auto.offset.reset: latest
#document service conf
DocumentService:
baseurl: DOCUMENT_SERVICE_BASEURL
mock:
generate_token: DOCUMENT_SERVICE_MOCK_GENERATE_TOKEN
2024-08-19 16:55:29 +05:30
elastic:
addresses: ELASTIC_ADDRESS
username: ELASTIC_USERNAME
password: ELASTIC_PASSWORD
index: ELASTIC_INDEX
api_key: ELASTIC_API_KEY
2024-09-10 10:04:08 +05:30
2024-08-19 16:55:29 +05:30
2024-08-16 13:47:08 +05:30
aws:
region: AWS_REGION
bucket: AWS_BUCKET
mjolnir:
service.url: MJOLNIR_SERVICE_URL
realm.id: MJOLNIR_REALM
2024-09-12 02:59:54 +05:30
houston:
service.url: HOUSTON_SERVICE_URL
realm.id: HOUSTON_REALM_ID