Help Center


Enviroment Variables configuration

https://app.chaskiq.io/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBbXdEIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--827f2d0b5794f7bb660c48b79e228655bd857bed/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJYW5CbkJqb0dSVlE2RkhKbGMybDZaVjkwYjE5c2FXMXBkRnNIYVdscGFRPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--cf24ea7784b3789671bb09c4029aca003c26b32d/me.jpg

Written by Miguel Michelson

updated

This are the environment variable that Chaskiq uses to work on production:

Required

HOST: https://your.app.host.com

WS: wss://your.app.host.com/cable

ADMIN_EMAIL: youradmin@email.com

ADMIN_PASSWORD: youradminpassword

RAILS_ENV: production

RACK_ENV: production

RAILS_LOG_TO_STDOUT: 'true'

LANG: 'en_US.UTF-8'

RAILS_SERVE_STATIC_FILES: 'true'

SECRET_KEY_BASE: and alphanumeric string 128 characters

DATABASE_URL: your database string connection url

REDIS_URL: your redis string connection url

Storage and Email notification:

This ones are also required in order for Chaskiq works properly



AWS_ACCESS_KEY_ID: your amazon access key id

AWS_SECRET_ACCESS_KEY: your amazon secret key id

AWS_S3_BUCKET: amazon bucket name

AWS_S3_REGION: amazon region

SES_ADDRESS: email address from amazon ses service

SES_USER_NAME: ses user name

SES_PASSWORD: ses password

SNS_CONFIGURATION_SET: Amason ses sns configuration set (optional)

DEFAULT_SENDER_EMAIL: default email sender email, this is for the automated emails for recover password, team invite, etc.. 
 
DEFAULT_OUTGOING_EMAIL_DOMAIN: the domain in which your emails will be sent, for example mail.chaskiq.io , in contexts of conversations wil deliver as conversation-xxxxxx@mail.chaskiq.io

Optionals

GEOCODER_API_KEY: geocoder api key (optional)  

DEFAULT_GEOCODER_SERVICE: defaults to maxmind_local

SCOUT_KEY: ScoutAMP key , optional

BUGSNAG_API_KEY: bugsnag api key (optional)