Help Center


Enviroment Variables configuration

https://app.chaskiq.io/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdXdKIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--1e4bb37de70b822f55f05051b5f11730cf9b0963/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2RkhKbGMybDZaVjkwYjE5c2FXMXBkRnNIYVdscGFRPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--285ee8d1047615771afef258f0db59a0c5726b2a/mich-square-profile.png

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)