# ===================================================================# COMMON SPRING BOOT properties## This sample file is provided as a guideline. Do not copy the IT in its# entirety to your own application. ^^^# ===================================================================# ----------------------------------------# CORE properties#----------------------------------------# SPRING CONFIG (configfileapplicationlistener) spring.config.name= # config file name (defaultTo ' Application ') Spring.config.location=# location of config file# profilesspring.profiles=# comma List of active profiles# application SETTINGS (springapplication) spring.main.sources=Spring.main.web-environment= # Detect bydefaultSpring.main.show-banner=truespring.main ....= # Seeclass forAll properties# Logginglogging.path=/var/Logslogging.file=Myapp.loglogging.config=# IDENTITY (contextidapplicationcontextinitializer) spring.application.name=Spring.application.index=# EMBEDDED SERVER CONFIGURATION (serverproperties) Server.port=8080server.address=# bind to a specific nicserver.session-timeout=# Session Timeout in Secondsserver.context-path= # The context path, defaults to '/'Server.servlet-path= # The servlet path, defaults to '/'server.tomcat.access-log-pattern=# Log pattern of the access logserver.tomcat.access-log-enabled=false# is access logging Enabledserver.tomcat.protocol-header=x-forwarded-Proto # SSL forward Headersserver.tomcat.remote-ip-header=x-forwarded- forServer.tomcat.basedir=/tmp # base dir (usually not needed, defaults to TMP) Server.tomcat.background-processor-delay=30; # in Secondsserver.tomcat.max-threads = 0# Number of threads in protocol Handlerserver.tomcat.uri-encoding = UTF-8 # character encoding to use forURL decoding# SPRING MVC (httpmapperproperties) Http.mappers.json-pretty-print=false# pretty Print JSONhttp.mappers.json-sort-keys=false# sort Keysspring.mvc.locale=# Set fixed locale, e.g. En_UKspring.mvc.date-format= # Set fixed date format, e.g. dd/mm/Yyyyspring.mvc.message-codes-resolver-format= # Prefix_error_code/POSTFIX_ERROR_CODEspring.view.prefix=# MVC View Prefixspring.view.suffix=# ... and Suffixspring.resources.cache-period=# Cache Timeouts in headers sent to Browserspring.resources.add-mappings=true#if defaultmappings should be added# THYMELEAF (thymeleafautoconfiguration) Spring.thymeleaf.prefix=classpath:/templates/Spring.thymeleaf.suffix=. Htmlspring.thymeleaf.mode=HTML5spring.thymeleaf.encoding=utf-8spring.thymeleaf.content-type=text/html #;charset=<encoding>is Addedspring.thymeleaf.cache=true# set tofalse forHot refresh# freemarker (freemarkerautoconfiguration) spring.freemarker.allowRequestOverride=falseSpring.freemarker.allowSessionOverride=falseSpring.freemarker.cache=truespring.freemarker.checkTemplateLocation=trueSpring.freemarker.contentType=text/htmlspring.freemarker.exposeRequestAttributes=falsespring.freemarker.exposeSessionAttributes=falsespring.freemarker.exposeSpringMacroHelpers=falseSpring.freemarker.prefix=Spring.freemarker.requestContextAttribute=spring.freemarker.settings.*=Spring.freemarker.suffix=. ftlspring.freemarker.templateEncoding=utf-8Spring.freemarker.templateLoaderPath=classpath:/templates/Spring.freemarker.viewNames=# Whitelist of view names so can be resolved# GROOVY TEMPLATES (groovytemplateautoconfiguration) Spring.groovy.templ Ate.allowrequestoverride=falseSpring.groovy.template.allowSessionOverride=falseSpring.groovy.template.cache=truespring.groovy.template.configuration.*= # See Groovy ' s templateconfigurationspring.groovy.template.contenttype=text/Htmlspring.groovy.template.prefix=classpath:/templates/Spring.groovy.template.suffix=. tplspring.groovy.template.templateEncoding=utf-8Spring.groovy.template.viewNames=# Whitelist of view names that can be resolved# VELOCITY TEMPLATES (velocityautoconfiguration) spring.velocity.allowRe Questoverride=falseSpring.velocity.allowSessionOverride=falseSpring.velocity.cache=truespring.velocity.checkTemplateLocation=trueSpring.velocity.contentType=text/Htmlspring.velocity.dateToolAttribute=spring.velocity.exposeRequestAttributes=falsespring.velocity.exposeSessionAttributes=falsespring.velocity.exposeSpringMacroHelpers=falseSpring.velocity.numberToolAttribute=Spring.velocity.prefix=spring.velocity.properties.*=Spring.velocity.requestContextAttribute=Spring.velocity.resourceLoaderPath=classpath:/templates/Spring.velocity.suffix=. vmspring.velocity.templateEncoding=utf-8Spring.velocity.viewNames=# Whitelist of view names so can be resolved# internationalization (messagesourceautoconfiguration) spring.messages . basename=Messagesspring.messages.cacheSeconds=-1spring.messages.encoding=utf-8# SECURITY (securityproperties) security.user.name=User # Login Usernamesecurity.user.password=# login Passwordsecurity.user.role=USER # Role assigned to the Usersecurity.require-ssl=false# Advanced Settings ... security.enable-csrf=falsesecurity.basic.enabled=trueSecurity.basic.realm=Springsecurity.basic.path= #/**Security.headers.xss=falsesecurity.headers.cache=falsesecurity.headers.frame=falsesecurity.headers.contenttype =falsesecurity.headers.hsts=all # none/domain/allsecurity.sessions=stateless # always/never/if_required/stateles ssecurity.ignored=false# DATASOURCE (datasourceautoconfiguration & datasourceproperties) spring.datasource.name = # Name of the data sourcespring.datasource.initialize=true # populate using data.sqlspring.datasource.schema= # a schema (DDL) script Resource Referencespring.datasource.data= # a data (DML) script resource Referencespring.datasource.platfor M= # The platform to use in the schema resource (schema-${platform}.sql) Spring.datasource.continueonerror=false # Continue Even if can ' t be initializedspring.datasource.separator=; # statement Separator in SQL initialization scriptsspring.datasource.driverclassname= # JDBC Settings ... SPRING.DATASOURCE.URL=SPRING.DATASOURCE.USERNAME=SPRING.DATASOURCE.PASSWORD=SPRING.DATASOURCE.MAX-ACTIVE=100 # Advanced ConfigUration...spring.datasource.max-idle=8spring.datasource.min-idle=8spring.datasource.initial-size= 10spring.datasource.validation-query=spring.datasource.test-on-borrow=falsespring.datasource.test-on-return= falsespring.datasource.test-while-idle=spring.datasource.time-between-eviction-runs-millis= spring.datasource.min-evictable-idle-time-millis=spring.datasource.max-wait-millis=# MONGODB (MongoProperties) spring.data.mongodb.host= # The DB hostspring.data.mongodb.port=27017 # The connection port (defaults to 27107) Spring.dat A.mongodb.uri=mongodb://localhost/test # Connection Urlspring.data.mongo.repositories.enabled=true # if spring data Repository support is enabled# JPA (jpabaseconfiguration, hibernatejpaautoconfiguration) spring.jpa.properties.*= # Properties to set on the JPA connectionspring.jpa.openinview=truespring.jpa.show-sql= Truespring.jpa.database-platform=spring.jpa.database=spring.jpa.generate-ddl=false # Ignored by Hibernate, might is Useful for other Vendorsspring.jpa.hibernate.naming-strategy= # naming classnamespring.jpa.hibernate.ddl-auto= # defaults to Create-drop for embedded Dbsspring.data.jpa.repositories.enabled=true # If spring data repository support is enabled# SOLR (solrproperties}) spring.data.solr.host=http://127.0.0.1 : 8983/solrspring.data.solr.zkhost=spring.data.solr.repositories.enabled=true # If spring data repository support is enabled# ELASTICSEARCH (Elasticsearchproperties}) spring.data.elasticsearch.cluster-name= # The cluster name (defaults to Elasticsearch) spring.data.elasticsearch.cluster-nodes= # The address (es) of the server node (comma-separated; Ecified starts a client node) spring.data.elasticsearch.local=true # If local mode should be used with client NODESSPRING.D Ata.elasticsearch.repositories.enabled=true # If spring data repository support is enabled# Flyway (flywayproperties) Flyway.locations=classpath:db/migrations # Locations of Migrations scriptsflyway.schemas= # schemas to Updateflyway.initversion= 1 # version to start migrationflyway.prefix=vflyway.suffix=.sqlflyway.enabled= Trueflyway.url= # JDBC URL if you want Flyway to create it own datasourceflyway.user= # JDBC username if you want Flyway To create it own datasourceflyway.password= # JDBC password if you want FlyA-to-create its own datasource# liquibase (liquibaseproperties) liquibase.change-log=classpath:/db/changelog/ db.changelog-master.yamlliquibase.contexts= # Runtime contexts to Useliquibase.default-schema= # default database Schema to useliquibase.drop-first=falseliquibase.enabled=true# jmxspring.jmx.enabled=true # Expose MBeans from Spring# RABBIT (rabbitproperties) spring.rabbitmq.host= # connection Hostspring.rabbitmq.port= # Connection portspring.rabbitmq.addresses= # connection addresses (e.g. myhost:9999,otherhost:1111) Spring.rabbitmq.username= # Login userspring.rabbitmq.password= # login passwordspring.rabbitmq.virtualhost=spring.rabbitmq.dynamic=# REDIS ( redisproperties) Spring.redis.host=localhost # server hostspring.redis.password= # server passwordspring.redis.port= 6379 # Connection Portspring.redis.pool.max-idle=8 # Pool Settings ... spring.redis.pool.min-idle= 0spring.redis.pool.max-active=8spring.redis.pool.max-wait=-1# ACTIVEMQ (activemqproperties) Spring.activemq.broker-url=tcp://localhost:61616 # Connection Urlspring.activemq.user=spring.activemq.password=spring.activemq.in-memory= True # Broker Kind to the create if no broker-url is specifiedspring.activemq.pooled=false# HornetQ (hornetqproperties) spring. Hornetq.mode= # Connection mode (native, embedded) Spring.hornetq.host=localhost # HORNETQ host (native mode) spring.hornetq.port=5445 # HORNETQ port (native mode) Spring.hornetq.embedded.enabled=true # If the embedded server is Enab LED (needs Hornetq-jms-server.jar) spring.hornetq.embedded.serverid= # auto-generated ID of the embedded server (integer) Spring.hornetq.embedded.persistent=false # message persistencespring.hornetq.embedded.data-directory= # Location of Data content (when persistence are enabled) spring.hornetq.embedded.queues= # comma separate queues to create on Startupspri ng.hornetq.embedded.topics= # comma separate topics to create on startupspring.hornetq.embedded.cluster-password= # Customer password (randomly generated by default) # JMS (jmspropeRties) spring.jms.pub-sub-domain= # False for queue (default), True for topic# spring BATCH (Batchdatabaseinitializer) spri Ng.batch.job.names=job1,job2spring.batch.job.enabled=truespring.batch.initializer.enabled= Truespring.batch.schema= # Batch schema to load# aopspring.aop.auto=spring.aop.proxy-target-class=# FILE ENCODING ( Fileencodingapplicationlistener) spring.mandatory-file-encoding=false# Spring Social (socialwebautoconfiguration) Spring.social.auto-connection-views=true # Set to True for default connection views or False if you provide your own# SPRI NG Social Facebook (facebookautoconfiguration) spring.social.facebook.app-id= # Your application ' s Facebook app idspring.social.facebook.app-secret= # Your application ' s Facebook app secret# SPRING Social LINKEDIN ( linkedinautoconfiguration) spring.social.linkedin.app-id= # Your application ' s LinkedIn app idspring.social.linkedin.app-secret= # Your application ' s LinkedIn app secret# SPRING Social TWITTER ( Twitterautoconfiguration) Spring.sOcial.twitter.app-id= # Your application ' s Twitter app idspring.social.twitter.app-secret= # Your application ' s Twitter A PP secret# SPRING MOBILE SITE PREFERENCE (sitepreferenceautoconfiguration) Spring.mobile.sitepreference.enabled=true # Enabled by default# SPRING MOBILE DEVICE Views (devicedelegatingviewresolverautoconfiguration) Spring.mobile.devicedelegatingviewresolver.enabled=true # Disabled by defaultspring.mobile.devicedelegatingviewresolver.normalprefix= spring.mobile.devicedelegatingviewresolver.normalsuffix= spring.mobile.devicedelegatingviewresolver.mobileprefix=mobile/ spring.mobile.devicedelegatingviewresolver.mobilesuffix= spring.mobile.devicedelegatingviewresolver.tabletprefix=tablet/ spring.mobile.devicedelegatingviewresolver.tabletsuffix=#----------------------------------------# Actuator properties#----------------------------------------# MANAGEMENT HTTP SERVER (managementserverproperties) management.port= # defaults to ' Server.port ' management.address= # bind to a SpecifIC nicmanagement.contextpath= # Default to '/' # endpoints (abstractendpoint subclasses) endpoints.autoconfig.id= Autoconfigendpoints.autoconfig.sensitive=trueendpoints.autoconfig.enabled=trueendpoints.beans.id= Beansendpoints.beans.sensitive=trueendpoints.beans.enabled=trueendpoints.configprops.id= Configpropsendpoints.configprops.sensitive=trueendpoints.configprops.enabled= Trueendpoints.configprops.keys-to-sanitize=password,secretendpoints.dump.id=dumpendpoints.dump.sensitive= Trueendpoints.dump.enabled=trueendpoints.env.id=envendpoints.env.sensitive=trueendpoints.env.enabled= Trueendpoints.health.id=healthendpoints.health.sensitive=falseendpoints.health.enabled=trueendpoints.info.id= Infoendpoints.info.sensitive=falseendpoints.info.enabled=trueendpoints.metrics.id= Metricsendpoints.metrics.sensitive=trueendpoints.metrics.enabled=trueendpoints.shutdown.id= Shutdownendpoints.shutdown.sensitive=trueendpoints.shutdown.enabled=falseendpoints.trace.id= traceendpoints.trace.sensitive=trueendpoints.trace.enabled=true# MVC only endpointsendpoints.jolokia.path=jolokiaendpoints.jolokia.sensitive= Trueendpoints.jolokia.enabled=true # when using jolokiaendpoints.error.path=/error# JMX ENDPOINT ( endpointmbeanexportproperties) endpoints.jmx.enabled=trueendpoints.jmx.domain= # The JMX domain, defaults to ' Org.springboot ' endpoints.jmx.unique-names=falseendpoints.jmx.enabled=trueendpoints.jmx.staticnames=# JOLOKIA ( jolokiaproperties) jolokia.config.*= # See Jolokia manual# REMOTE shellshell.auth=simple # Jaas, key, simple, Springshell. command-refresh-interval=-1shell.command-path-pattern= # classpath*:/commands/**, classpath*:/crash/commands/** shell.config-path-patterns= # classpath*:/crash/*shell.disabled-plugins=false # don ' t expose pluginsshell.ssh.enabled= # SSH settings ... shell.ssh.keypath=shell.ssh.port=shell.telnet.enabled= # telnet settings ... shell.telnet.port=shell.auth.jaas.domain= # authentication settings ... shell.auth.key.path= Shell.auth.simple.user.name=shell.auth.simple.user.password=shell.auth.spring.roles=# git infospring.git.properties= # Resource ref to generated GIT info properties file
Springboot configuration file