Skip to main content

ENV-variables

NameData typeDescription
ADMIN_EMAILstringThe admin email address.
APP_HOSTstringCurrent application's host.
APP_TITLEstringCurrent application's name.
APP_URLstringCurrent application's URL.
ASSET_HOSTstringHost where assets are stored.
AUTHbooleanSpecify if ActiveAdmin requires authentication (before logging in).
AUTH_PSWDstringAuthentication password.
AUTH_USERstringAuthentication user name.
AWS_ACCESS_KEY_IDstringAmazon AWS access key id.
AWS_SECRET_ACCESS_KEYstringAmazon AWS secret access key id.
BACKEND_APP_HOSTstringBackend application host.
BETA_PSWDstring
BETA_USERstring
BRAINTREE_ENVIRONMENTstringSpecify Braintree environment (sandbox, production).
BRAINTREE_MERCHANT_IDstringSpecify Braintree merchant id.
BRAINTREE_PRIVATE_KEYstringSpecify Braintree private key.
BRAINTREE_PUBLIC_KEYstringSpecify Braintree public key.
BUGSNAG_API_KEYstringSpecify Bugsnag key.
BUNDLE_WITHOUTstring
COUNTinteger
COVERBAND_DISABLE_AUTO_STARTboolean
DATABASE_URLstringURL to follow to reach DB.
DB_NAMEstringName of the database
DB_USERstringDatabase username
DB_PASSstringDatabase password
DISABLE_PUMA_WORKER_KILLER_LOGSboolean
DISABLE_RACK_TIMEOUT_LOGGERboolean
ERRBIT_API_KEYstring
ERRBIT_HOSTstring
ERROR_PAGE_URLstringURL for error page.
FACEBOOK_APP_IDstringFacebook application's ID.
FACEBOOK_APP_SECRETstringFacebook application's secret key.
FATTUREINCLOUD_API_KEYstringFattureInCloud key.
FATTUREINCLOUD_API_UIDstringFattureInCloud uid.
FRONTEND_APP_HOSTstringHost where fronted is running.
GOOGLE_API_KEYstring
HEROKU_POSTGRESQL_CYAN_URLstringHerokuì's DB URL.
HOLIDAYS_CLOSINGSbooleanUse holidays closing as defined in the code.
INSTAGRAM_CLIENT_IDstringInstagram application's ID.
INSTAGRAM_CLIENT_SECRETstringInstagram application's secret key.
MAX_REQUEST_MAXinteger
MAX_REQUEST_MINinteger
ONLINE_DISCOUNTintegerOnline discount amount in euros (deprecated after new promotions).
OOM_MAXinteger
OOM_MINinteger
OPENSEARCH_URLstringURL to OpenSearch server.
PREPARED_STATEMENTS_ENABLEDboolean
RACK_ENVstring
RACK_TIMEOUT_SERVICE_TIMEOUTinteger
RAILS_ENVstringRails environment (production, develop, beta, test).
REDISCLOUD_URLstring
RELEVANCE_PENALTYboolean
REQUESTED_APPOINTMENT_EXPIRATIONinteger
S3_BUCKET_NAMEstringAmazon AWS S3 bucket name.
SECRET_KEY_BASEstring
SEEDS_CSV_PATHstringPath to CSV files for seeds.
SEGMENT_IO_API_KEYstring
SEND_SMSbooleanSpecify if app should send SMS.
SENDGRID_PASSWORDstring
SENDGRID_USERNAMEstring
SERVICE_USER_AUTH_TOKENstringService auth_token to access API v1 without be venue's manager.
SKIP_TRACKABLE_LOGboolean
SMS_MIN_CREDITinteger
SMS_PROVIDER_PSWDstring
SMS_PROVIDER_URLstring
SMS_PROVIDER_USERstring
SUPER_DIFFbooleanEnables or disables the SuperDiff Gem
TZstringTimezone of the Rails application (e.g.: Europe/Rome)
UNICORN_TIMEOUTintegerDelay in seconds before respond with timeout.
UNLEASH_API_KEYstringAPI key for Unleash.
UNLEASH_DEBUGbooleanEnable debug mode for Unleash.
UNLEASH_URLstringURL to Unleash server.
USE_RESOURCE_UPDATESbooleanSpecify if ResourceUpdate will be used in synch methods.
VERBOSE_QUERY_LOGSintegerEnable verbose query logs.
WEB_CONCURRENCYinteger
WHITE_LISTED_IPS_SERVICEstringWhitelisted IPs to access API v1 as service.
WORKER_CONCURRENCYinteger