60 lines
3.3 KiB
Bash
60 lines
3.3 KiB
Bash
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you 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.
|
|
#
|
|
|
|
# ... following variables are optional; "application.properties" contains reasonable defaults (same as here)
|
|
FINERACT_USER=1000
|
|
FINERACT_GROUP=1000
|
|
FINERACT_HIKARI_MINIMUM_IDLE=3
|
|
FINERACT_HIKARI_MAXIMUM_POOL_SIZE=10
|
|
FINERACT_HIKARI_IDLE_TIMEOUT=60000
|
|
FINERACT_HIKARI_CONNECTION_TIMEOUT=20000
|
|
FINERACT_HIKARI_TEST_QUERY=SELECT 1
|
|
FINERACT_HIKARI_AUTO_COMMIT=true
|
|
FINERACT_SERVER_SSL_ENABLED=true
|
|
FINERACT_HIKARI_USERNAME=root
|
|
FINERACT_HIKARI_PASSWORD=skdcnwauicn2ucnaecasdsajdnizucawencascdca
|
|
FINERACT_HIKARI_DS_PROPERTIES_CACHE_PREP_STMTS=true
|
|
FINERACT_HIKARI_DS_PROPERTIES_PREP_STMT_CACHE_SIZE=250
|
|
FINERACT_HIKARI_DS_PROPERTIES_PREP_STMT_CACHE_SQL_LIMIT=2048
|
|
FINERACT_HIKARI_DS_PROPERTIES_USE_SERVER_PREP_STMTS=true
|
|
FINERACT_HIKARI_DS_PROPERTIES_USE_LOCAL_SESSION_STATE=true
|
|
FINERACT_HIKARI_DS_PROPERTIES_REWRITE_BATCHED_STATEMENTS=true
|
|
FINERACT_HIKARI_DS_PROPERTIES_CACHE_RESULT_SET_METADATA=true
|
|
FINERACT_HIKARI_DS_PROPERTIES_CACHE_SERVER_CONFIGURATION=true
|
|
FINERACT_HIKARI_DS_PROPERTIES_ELIDE_SET_AUTO_COMMITS=true
|
|
FINERACT_HIKARI_DS_PROPERTIES_MAINTAIN_TIME_STATS=false
|
|
FINERACT_HIKARI_DS_PROPERTIES_LOG_SLOW_QUERIES=true
|
|
FINERACT_HIKARI_DS_PROPERTIES_DUMP_QUERIES_IN_EXCEPTION=true
|
|
# NOTE: env vars prefixed "FINERACT_DEFAULT_TENANTDB_*" are used to create the default tenant database
|
|
FINERACT_DEFAULT_TENANTDB_CONN_PARAMS=
|
|
FINERACT_DEFAULT_TENANTDB_TIMEZONE=Asia/Kolkata
|
|
FINERACT_DEFAULT_TENANTDB_IDENTIFIER=default
|
|
FINERACT_DEFAULT_TENANTDB_NAME=fineract_default
|
|
FINERACT_DEFAULT_TENANTDB_DESCRIPTION=Default Demo Tenant
|
|
FINERACT_DEFAULT_TENANTDB_HOSTNAME=db
|
|
FINERACT_DEFAULT_TENANTDB_PWD=skdcnwauicn2ucnaecasdsajdnizucawencascdca
|
|
FINERACT_DEFAULT_MASTER_PASSWORD=fineract
|
|
FINERACT_MANAGEMENT_ENDPOINT_WEB_EXPOSURE_INCLUDE=health,info,prometheus
|
|
FINERACT_MANAGEMENT_METRICS_TAGS_APPLICATION=fineract
|
|
FINERACT_REMOTE_JOB_MESSAGE_HANDLER_SPRING_EVENTS_ENABLED=true
|
|
FINERACT_INSECURE_HTTP_CLIENT=true
|
|
SPRING_PROFILES_ACTIVE=test,diagnostics
|
|
OTEL_SERVICE_NAME=fineract
|
|
JAVA_TOOL_OPTIONS=" -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5000 -Xmx1G -XX:MinRAMPercentage=25 -XX:MaxRAMPercentage=80 -XX:TieredStopAtLevel=1 -XX:+UseContainerSupport -XX:+UseStringDeduplication --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED"
|