# ===================================================================# common spring boot PROPERTIES## This sample file is provided as a guideline. Do not copy it in its# entirety to your own application. ^^ ^# ========== =========================================================# ----------------------------------------# CORE PROPERTIES# ----------------------------------------# spring config ( Configfileapplicationlistener) spring.config.name= # config file name (default to ' 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 by defaultspring.main.show-banner= truespring.main....= # see class for all 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&NBSP;TO&NBSP;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 for URL 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=&NBSP;#&NBSP;MVC&NBSP;VIEW&NBSP;PREFIXSPRING.VIEW.SUFFIX=&NBSP;#&NBSP, ..... and suffixspring.resources.cache-period= # cache timeouts in headers sent to browserspring.resources.add-mappings=true # if default mappings 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 to false for hot 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 that can be resolved# GROOVY TEMPLATES (groovytemplateautoconfiguration) Spring.groovy.template.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.allowrequestoverride=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 that can be resolved# internationalization (messagesourceautoconfiguration) spring.messages.basename=messagesspring.messages.cacheseconds=- 1spring.messages.encoding=utf-8#&nBsp security (securityproperties) security.user.name=user # login usernamesecurity.user.password= # login passwordsecurity.user.role=user # role ASSIGNED&NBSP;TO&NBSP;THE&NBSP;USERSECURITY.REQUIRE-SSL=FALSE&NBSP;#&NBSP;ADVANCED&NBSP;SETTINGS&NBSP, ..... 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 / statelesssecurity.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.platform= # 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.data.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 be 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; if not specified starts a client node) spring.data.elasticsearch.local=true # if local mode should be&Nbsp;used with client nodesspring.data.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 its own datasourceflyway.user= # jdbc username if you want flyway to create its own datasourceflyway.password= # jdbc password if you want flyway 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 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 enabled (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 is enabled) spring.hornetq.embedded.queues= # comma separate queues to create on Startupspring.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) spring.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# SPRING 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 App 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=&NBSP;#&NBSP;TELNET&NBSP;SETTINGS&NBSP, ..... 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
Spring Boot configuration file application.properties