2020-02-24 09:00:11 +00:00
|
|
|
# This property allows the server to run behind a proxy server and still resolve all the urls correctly
|
2020-05-19 03:52:33 +00:00
|
|
|
server.forward-headers-strategy=NATIVE
|
2020-02-24 09:00:11 +00:00
|
|
|
|
2020-02-25 11:36:02 +00:00
|
|
|
spring.data.mongodb.auto-index-creation=false
|
|
|
|
|
|
2020-02-24 09:00:11 +00:00
|
|
|
# Ensures that the size of the request object that we handle is controlled. By default it's 212KB.
|
|
|
|
|
spring.codec.max-in-memory-size=5MB
|
2020-07-06 09:05:56 +00:00
|
|
|
|
|
|
|
|
# MongoDB Application Database
|
|
|
|
|
spring.data.mongodb.uri = ${APPSMITH_MONGODB_URI}
|
|
|
|
|
|
|
|
|
|
# Log properties
|
|
|
|
|
logging.level.root=info
|
|
|
|
|
logging.level.com.appsmith=debug
|
|
|
|
|
logging.pattern.console=%X - %m%n
|
|
|
|
|
|
|
|
|
|
#Spring security
|
|
|
|
|
spring.security.oauth2.client.registration.google.client-id=${APPSMITH_OAUTH2_GOOGLE_CLIENT_ID:missing_value_sentinel}
|
|
|
|
|
spring.security.oauth2.client.registration.google.client-secret=${APPSMITH_OAUTH2_GOOGLE_CLIENT_SECRET:}
|
|
|
|
|
spring.security.oauth2.client.provider.google.userNameAttribute=email
|
|
|
|
|
spring.security.oauth2.client.registration.github.client-id=${APPSMITH_OAUTH2_GITHUB_CLIENT_ID:missing_value_sentinel}
|
|
|
|
|
spring.security.oauth2.client.registration.github.client-secret=${APPSMITH_OAUTH2_GITHUB_CLIENT_SECRET:}
|
|
|
|
|
spring.security.oauth2.client.provider.github.userNameAttribute=login
|
|
|
|
|
|
|
|
|
|
# Accounts from specific domains are allowed to login
|
|
|
|
|
oauth2.allowed-domains=${APPSMITH_OAUTH2_ALLOWED_DOMAINS:}
|
|
|
|
|
|
2020-11-10 04:29:10 +00:00
|
|
|
# Segment
|
2020-07-06 09:05:56 +00:00
|
|
|
segment.writeKey=${APPSMITH_SEGMENT_KEY:}
|
2020-11-19 03:24:03 +00:00
|
|
|
# Is this instance hosted on Appsmith cloud?
|
|
|
|
|
is.cloud-hosted = ${APPSMITH_CLOUD_HOSTED:false}
|
|
|
|
|
disable.telemetry = ${APPSMITH_DISABLE_TELEMETRY:true}
|
|
|
|
|
segment.ce.key = ${APPSMITH_SEGMENT_CE_KEY:}
|
2020-11-10 04:29:10 +00:00
|
|
|
|
|
|
|
|
# Sentry
|
|
|
|
|
sentry.dsn=${APPSMITH_SENTRY_DSN:}
|
|
|
|
|
sentry.send-default-pii=true
|
|
|
|
|
sentry.debug=off
|
2020-07-06 09:05:56 +00:00
|
|
|
|
|
|
|
|
# RapidAPI
|
|
|
|
|
rapidapi.key.name = X-RapidAPI-Key
|
|
|
|
|
rapidapi.key.value = ${APPSMITH_RAPID_API_KEY_VALUE:}
|
|
|
|
|
|
|
|
|
|
# Redis Properties
|
|
|
|
|
spring.redis.url=${APPSMITH_REDIS_URL}
|
|
|
|
|
|
|
|
|
|
# Mail Properties
|
|
|
|
|
# Email defaults to false, because, when true and the other SMTP properties are not set, Spring will try to use a
|
|
|
|
|
# default localhost:25 SMTP server and throw an error. If false, this error won't happen because there's no attempt
|
|
|
|
|
# to send an email.
|
|
|
|
|
mail.enabled=${APPSMITH_MAIL_ENABLED:false}
|
2020-07-15 10:17:33 +00:00
|
|
|
mail.from=${APPSMITH_MAIL_FROM:appsmith@localhost}
|
|
|
|
|
reply.to=${APPSMITH_REPLY_TO:appsmith@localhost}
|
2020-07-06 09:05:56 +00:00
|
|
|
spring.mail.host=${APPSMITH_MAIL_HOST:}
|
|
|
|
|
spring.mail.port=${APPSMITH_MAIL_PORT:}
|
|
|
|
|
spring.mail.username=${APPSMITH_MAIL_USERNAME:}
|
|
|
|
|
spring.mail.password=${APPSMITH_MAIL_PASSWORD:}
|
|
|
|
|
spring.mail.properties.mail.smtp.auth=${APPSMITH_MAIL_SMTP_AUTH:}
|
|
|
|
|
spring.mail.properties.mail.smtp.starttls.enable=${APPSMITH_MAIL_SMTP_TLS_ENABLED:}
|
2020-07-09 17:08:21 +00:00
|
|
|
|
|
|
|
|
# Marketplace Properties
|
|
|
|
|
marketplace.base-url = ${APPSMITH_MARKETPLACE_URL:}
|
|
|
|
|
marketplace.username=${APPSMITH_MARKETPLACE_USERNAME:}
|
|
|
|
|
marketplace.password=${APPSMITH_MARKETPLACE_PASSWORD:}
|
2020-07-14 09:15:08 +00:00
|
|
|
|
|
|
|
|
# MANDATORY!! No default properties are being provided for encryption password and salt for security.
|
|
|
|
|
# The server would not come up without these values provided through the environment variables.
|
|
|
|
|
encrypt.password=${APPSMITH_ENCRYPTION_PASSWORD:}
|
|
|
|
|
encrypt.salt=${APPSMITH_ENCRYPTION_SALT:}
|
2020-11-05 09:03:40 +00:00
|
|
|
|
|
|
|
|
# The following configurations are to help support prometheus scraping for monitoring
|
|
|
|
|
management.endpoints.web.exposure.include=prometheus
|
|
|
|
|
management.metrics.web.server.request.autotime.enabled=true
|
|
|
|
|
management.metrics.export.prometheus.descriptions=true
|
|
|
|
|
management.metrics.web.server.request.ignore-trailing-slash=true
|
|
|
|
|
management.metrics.web.server.request.autotime.percentiles=0.5, 0.9, 0.95, 0.99
|
2020-11-10 04:29:10 +00:00
|
|
|
management.metrics.web.server.request.autotime.percentiles-histogram=true
|
2020-11-19 03:24:03 +00:00
|
|
|
management.metrics.distribution.sla.[http.server.requests]=1s
|