2020-04-30 16:02:34 +00:00
|
|
|
# Used to verify the integrity of signed cookies. so ensure a secure value is set
|
|
|
|
SECRET_KEY_BASE=replace_with_lengthy_secure_hex
|
|
|
|
|
|
|
|
# Replace with the URL you are planning to use for your app
|
|
|
|
FRONTEND_URL=http://0.0.0.0:3000
|
|
|
|
|
2020-02-26 06:06:22 +00:00
|
|
|
# Force all access to the app over SSL, default is set to false
|
2020-04-30 16:02:34 +00:00
|
|
|
FORCE_SSL=false
|
2019-12-22 17:23:18 +00:00
|
|
|
|
2020-02-29 05:50:33 +00:00
|
|
|
# This lets you control new sign ups on your chatwoot installation
|
|
|
|
# true : default option, allows sign ups
|
|
|
|
# false : disables all the end points related to sign ups
|
|
|
|
# api_only: disables the UI for signup, but you can create sign ups via the account apis
|
2020-04-30 16:02:34 +00:00
|
|
|
ENABLE_ACCOUNT_SIGNUP=true
|
2020-02-29 05:50:33 +00:00
|
|
|
|
2020-04-30 14:50:26 +00:00
|
|
|
# Redis config
|
2020-01-26 17:01:34 +00:00
|
|
|
REDIS_URL=redis://redis:6379
|
|
|
|
# If you are using docker-compose, set this variable's value to be any string,
|
|
|
|
# which will be the password for the redis service running inside the docker-compose
|
|
|
|
# to make it secure
|
|
|
|
REDIS_PASSWORD=
|
|
|
|
|
2019-12-22 17:23:18 +00:00
|
|
|
# Postgres Database config variables
|
|
|
|
POSTGRES_HOST=postgres
|
|
|
|
POSTGRES_USERNAME=postgres
|
|
|
|
POSTGRES_PASSWORD=
|
|
|
|
RAILS_ENV=development
|
|
|
|
RAILS_MAX_THREADS=5
|
|
|
|
|
2020-04-30 14:50:26 +00:00
|
|
|
# Mail outgoing
|
2019-12-22 17:23:18 +00:00
|
|
|
MAILER_SENDER_EMAIL=accounts@chatwoot.com
|
|
|
|
SMTP_PORT=1025
|
|
|
|
SMTP_DOMAIN=chatwoot.com
|
2020-02-05 13:20:38 +00:00
|
|
|
# if you are running docker-compose, set SMTP_ADDRESS value as "mailhog",
|
2020-01-23 17:29:07 +00:00
|
|
|
# else set the value as "localhost"
|
2019-12-22 17:23:18 +00:00
|
|
|
SMTP_ADDRESS=mailhog
|
2019-11-24 11:49:14 +00:00
|
|
|
SMTP_USERNAME=
|
|
|
|
SMTP_PASSWORD=
|
2019-12-22 17:23:18 +00:00
|
|
|
SMTP_AUTHENTICATION=
|
|
|
|
SMTP_ENABLE_STARTTLS_AUTO=
|
2019-11-23 19:57:39 +00:00
|
|
|
|
2020-04-30 14:50:26 +00:00
|
|
|
# Mail Incoming
|
2020-05-02 17:59:09 +00:00
|
|
|
|
|
|
|
# Set this to appropriate ingress channel with regards to incoming emails
|
|
|
|
# Possible values are :
|
|
|
|
# :relay for Exim, Postfix, Qmail
|
|
|
|
# :mailgun for Mailgun
|
|
|
|
# :mandrill for Mandrill
|
|
|
|
# :postmark for Postmark
|
|
|
|
# :sendgrid for Sendgrid
|
|
|
|
RAILS_INBOUND_EMAIL_SERVICE=
|
2020-04-30 14:50:26 +00:00
|
|
|
# Use one of the following based on the email ingress service
|
|
|
|
# Ref: https://edgeguides.rubyonrails.org/action_mailbox_basics.html
|
|
|
|
RAILS_INBOUND_EMAIL_PASSWORD=
|
|
|
|
MAILGUN_INGRESS_SIGNING_KEY=
|
|
|
|
MANDRILL_INGRESS_API_KEY=
|
|
|
|
|
2020-04-30 16:02:34 +00:00
|
|
|
# Storage
|
2019-12-29 05:43:28 +00:00
|
|
|
ACTIVE_STORAGE_SERVICE=local
|
2019-11-23 19:57:39 +00:00
|
|
|
|
2020-04-30 14:50:26 +00:00
|
|
|
# Amazon S3
|
2019-11-23 19:57:39 +00:00
|
|
|
S3_BUCKET_NAME=
|
|
|
|
AWS_ACCESS_KEY_ID=
|
|
|
|
AWS_SECRET_ACCESS_KEY=
|
|
|
|
AWS_REGION=
|
|
|
|
|
2020-04-30 14:50:26 +00:00
|
|
|
# Sentry
|
2019-11-24 13:39:17 +00:00
|
|
|
SENTRY_DSN=
|
2019-11-23 19:57:39 +00:00
|
|
|
|
2020-04-30 14:50:26 +00:00
|
|
|
# Log settings
|
2020-04-30 16:02:34 +00:00
|
|
|
# Disable if you want to write logs to a file
|
|
|
|
RAILS_LOG_TO_STDOUT=true
|
2020-03-28 06:13:02 +00:00
|
|
|
LOG_LEVEL=info
|
2020-05-05 18:40:56 +00:00
|
|
|
LOG_SIZE=500
|
2020-03-17 20:10:34 +00:00
|
|
|
|
2020-03-28 06:13:02 +00:00
|
|
|
### This environment variables are only required if you are setting up social media channels
|
2020-05-05 18:40:56 +00:00
|
|
|
#facebook
|
2020-03-28 06:13:02 +00:00
|
|
|
FB_VERIFY_TOKEN=
|
|
|
|
FB_APP_SECRET=
|
|
|
|
FB_APP_ID=
|
|
|
|
|
2020-04-30 14:50:26 +00:00
|
|
|
# Twitter
|
2020-03-28 06:13:02 +00:00
|
|
|
TWITTER_APP_ID=
|
|
|
|
TWITTER_CONSUMER_KEY=
|
|
|
|
TWITTER_CONSUMER_SECRET=
|
|
|
|
TWITTER_ENVIRONMENT=
|
|
|
|
|
2020-06-12 17:42:47 +00:00
|
|
|
#slack
|
|
|
|
SLACK_CLIENT_ID=
|
|
|
|
SLACK_CLIENT_SECRET
|
|
|
|
|
2020-05-03 06:46:11 +00:00
|
|
|
### Change this env variable only if you are using a custom build mobile app
|
|
|
|
## Mobile app env variables
|
|
|
|
IOS_APP_ID=6C953F3RX2.com.chatwoot.app
|
|
|
|
|
2020-05-05 18:40:56 +00:00
|
|
|
## Push Notification
|
|
|
|
## generate a new key value here : https://d3v.one/vapid-key-generator/
|
|
|
|
# VAPID_PUBLIC_KEY=
|
|
|
|
# VAPID_PRIVATE_KEY=
|
2020-06-04 18:45:50 +00:00
|
|
|
#
|
|
|
|
# for mobile apps
|
|
|
|
# FCM_SERVER_KEY=
|
2020-05-09 16:32:43 +00:00
|
|
|
|
|
|
|
## Bot Customizations
|
|
|
|
USE_INBOX_AVATAR_FOR_BOT=true
|
2020-05-20 14:32:28 +00:00
|
|
|
|
|
|
|
## Development Only Config
|
|
|
|
# if you want to use letter_opener for local emails
|
|
|
|
# LETTER_OPENER=true
|