2021-10-07 11:32:49 +00:00
|
|
|
server.port=${PORT:8080}
|
2022-12-22 10:29:20 +00:00
|
|
|
# Allow the Spring context to close all active requests before shutting down the server
|
|
|
|
|
# Please ref: https://docs.spring.io/spring-boot/docs/2.3.0.RELEASE/reference/html/spring-boot-features.html#boot-features-graceful-shutdown
|
|
|
|
|
server.shutdown=graceful
|
|
|
|
|
spring.lifecycle.timeout-per-shutdown-phase=20s
|
2021-10-07 11:32:49 +00:00
|
|
|
|
2023-01-02 12:40:59 +00:00
|
|
|
spring.profiles.active=${ACTIVE_PROFILE:production}
|
|
|
|
|
|
2021-07-26 07:01:26 +00:00
|
|
|
# This property allows us to override beans during testing. This is useful when we want to set different configurations
|
|
|
|
|
# and different parameters during test as compared to production. If this property is disabled, some tests will fail.
|
|
|
|
|
spring.main.allow-bean-definition-overriding=true
|
2023-01-02 12:40:59 +00:00
|
|
|
spring.data.redis.repositories.enabled=false
|
|
|
|
|
|
|
|
|
|
#spring.main.web-application-type=reactive
|
2021-07-26 07:01:26 +00:00
|
|
|
|
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
|
2021-12-24 15:15:18 +00:00
|
|
|
spring.data.mongodb.authentication-database=admin
|
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.
|
2023-02-20 15:04:02 +00:00
|
|
|
spring.codec.max-in-memory-size=150MB
|
|
|
|
|
appsmith.codec.max-in-memory-size=${APPSMITH_CODEC_SIZE:150}
|
2020-07-06 09:05:56 +00:00
|
|
|
|
|
|
|
|
# Log properties
|
|
|
|
|
logging.level.root=info
|
|
|
|
|
logging.level.com.appsmith=debug
|
2022-07-28 04:10:03 +00:00
|
|
|
logging.level.com.external.plugins=debug
|
2022-09-02 07:39:12 +00:00
|
|
|
logging.pattern.console=[%d{ISO8601, UTC}] %X - %m%n
|
2020-07-06 09:05:56 +00:00
|
|
|
|
|
|
|
|
#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
|
2021-02-12 14:18:07 +00:00
|
|
|
# DEPRECATED, in favor of signup.allowed-domains
|
2020-07-06 09:05:56 +00:00
|
|
|
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?
|
2021-07-28 06:45:48 +00:00
|
|
|
is.cloud-hosting = ${APPSMITH_CLOUD_HOSTING:false}
|
2020-11-19 03:24:03 +00:00
|
|
|
disable.telemetry = ${APPSMITH_DISABLE_TELEMETRY:true}
|
|
|
|
|
segment.ce.key = ${APPSMITH_SEGMENT_CE_KEY:}
|
2020-11-10 04:29:10 +00:00
|
|
|
|
|
|
|
|
# Sentry
|
2023-06-29 09:29:47 +00:00
|
|
|
sentry.dsn=${APPSMITH_SERVER_SENTRY_DSN:}
|
2020-11-10 04:29:10 +00:00
|
|
|
sentry.send-default-pii=true
|
2023-02-07 08:56:18 +00:00
|
|
|
sentry.debug=false
|
2023-06-29 09:29:47 +00:00
|
|
|
sentry.environment=${APPSMITH_SERVER_SENTRY_ENVIRONMENT:}
|
2020-07-06 09:05:56 +00:00
|
|
|
|
|
|
|
|
# Redis Properties
|
2023-01-02 12:40:59 +00:00
|
|
|
spring.data.redis.url=${APPSMITH_REDIS_URL}
|
2020-07-06 09:05:56 +00:00
|
|
|
|
|
|
|
|
# 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}
|
2021-11-12 10:55:04 +00:00
|
|
|
mail.from=${APPSMITH_MAIL_FROM:}
|
2021-07-15 17:45:08 +00:00
|
|
|
mail.support=${APPSMITH_MAIL_SUPPORT:support@appsmith.com}
|
2020-07-15 10:17:33 +00:00
|
|
|
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:}
|
2021-01-12 08:43:44 +00:00
|
|
|
admin.emails = ${APPSMITH_ADMIN_EMAILS:}
|
2020-07-09 17:08:21 +00:00
|
|
|
|
2021-01-12 11:20:26 +00:00
|
|
|
# Configuring individual emails
|
|
|
|
|
emails.welcome.enabled = ${APPSMITH_EMAILS_WELCOME_ENABLED:true}
|
|
|
|
|
|
2021-01-12 12:45:15 +00:00
|
|
|
# Appsmith Cloud Services
|
2021-05-12 11:37:59 +00:00
|
|
|
appsmith.cloud_services.base_url = ${APPSMITH_CLOUD_SERVICES_BASE_URL:https://cs.appsmith.com}
|
2021-01-12 12:45:15 +00:00
|
|
|
appsmith.cloud_services.username = ${APPSMITH_CLOUD_SERVICES_USERNAME:}
|
|
|
|
|
appsmith.cloud_services.password = ${APPSMITH_CLOUD_SERVICES_PASSWORD:}
|
2021-01-18 15:51:22 +00:00
|
|
|
github_repo = ${APPSMITH_GITHUB_REPO:}
|
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
|
2023-02-07 08:56:18 +00:00
|
|
|
management.endpoints.web.exposure.include=prometheus,metrics
|
|
|
|
|
management.tracing.enabled=${APPSMITH_TRACING_ENABLED:false}
|
2023-02-07 11:43:54 +00:00
|
|
|
management.zipkin.tracing.endpoint=${APPSMITH_TRACING_ENDPOINT:http://localhost:9411/api/v2/spans}
|
2023-02-07 08:56:18 +00:00
|
|
|
management.tracing.sampling.probability=${APPSMITH_SAMPLING_PROBABILITY:0.1}
|
2023-01-02 12:40:59 +00:00
|
|
|
management.prometheus.metrics.export.descriptions=true
|
2023-02-07 08:56:18 +00:00
|
|
|
management.metrics.distribution.percentiles-histogram.http.server.requests=true
|
2021-01-11 14:40:50 +00:00
|
|
|
|
|
|
|
|
# Support disabling signup with an environment variable
|
|
|
|
|
signup.disabled = ${APPSMITH_SIGNUP_DISABLED:false}
|
2021-02-12 14:18:07 +00:00
|
|
|
signup.allowed-domains=${APPSMITH_SIGNUP_ALLOWED_DOMAINS:}
|
2021-03-11 01:55:01 +00:00
|
|
|
|
|
|
|
|
# Google recaptcha config
|
|
|
|
|
google.recaptcha.key.site = ${APPSMITH_RECAPTCHA_SITE_KEY:}
|
|
|
|
|
google.recaptcha.key.secret= ${APPSMITH_RECAPTCHA_SECRET_KEY:}
|
2021-09-05 15:38:36 +00:00
|
|
|
|
2021-09-15 08:26:41 +00:00
|
|
|
# Plugin Interface level settings
|
2021-09-05 15:38:36 +00:00
|
|
|
appsmith.plugin.response.size.max=${APPSMITH_PLUGIN_MAX_RESPONSE_SIZE_MB:5}
|
2021-09-15 08:26:41 +00:00
|
|
|
|
|
|
|
|
# Location env file with environment variables, that can be configured from the UI.
|
2021-10-04 15:53:11 +00:00
|
|
|
appsmith.admin.envfile=${APPSMITH_ENVFILE_PATH:/appsmith-stacks/configuration/docker.env}
|
2021-10-11 10:59:39 +00:00
|
|
|
|
2023-02-15 01:36:02 +00:00
|
|
|
# RTS port
|
|
|
|
|
appsmith.rts.port=${APPSMITH_RTS_PORT:8091}
|