Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleapplication.mno-hub
###########################
# General Configuration
###########################
RAILS_ENV=production
RAILS_MAX_THREADS=25
RAILS_LOG_TO_STDOUT=true
JRUBY_WEB_OPTS=-J-Xms1536m -J-Xmx1536m -J-server
JRUBY_WORKER_OPTS=-J-Xms1024m -J-Xmx1024m -J-server
DATABASE_URL={{MYSQL2_URL}}

###################################
# Secrets
###################################
# This key is used to encrypt credentials in database. Use "rake secret" to generate it.
encryption_key=<GENERATE ME>

# Rails secret. Use "rake secret" to generate it.
secret_key_base=<GENERATE ME>

# Rails secret. Use "rake secret" to generate it.
secret_token=<GENERATE ME>

###################################
# Platform components endpoints
###################################
# Url of your Impac installation
IMPAC_ENDPOINT=https://api-impac.yourdomain.io

# Url of your MnoHub installation
MNOHUB_ENDPOINT=https://api-hub.yourdomain.io
conf_hub_api_host=api-hub.yourdomain.io
conf_hub_api_protocol=https

# Marketplace name (on Developer Platform)
default_tenant_name=My Environment
DEV_PLATFORM_ENDPOINT=https://developer.maestrano.io
DEV_PLATFORM_SHARED_SECRET=<Ask Us>

# Connec Configuration Replace with appropriate values
CONNEC_ENDPOINT=<CHANGEIT for example: https://api-connec.yourdomain.io>
conf_connec_host= <CHANGEIT for example: api-connec.yourdomain.io>
conf_connec_paths_accounts_summary=/api/reports/:channel/accounts_summary
conf_connec_paths_all_accounts=/api/reports/:org_uid/account_balances
conf_connec_paths_balance_sheet=/api/reports/:channel/balance_sheet
conf_connec_paths_customers_invoices=/api/reports/:channel/customers_invoices
conf_connec_paths_suppliers_invoices=/api/reports/:channel/suppliers_invoices
conf_connec_paths_sync=/v1/:instance_uid/sync
conf_connec_port=443
conf_connec_protocol=https
conf_connec_upload_company=api-connec-yourdomain.maestrano.io/v1/:channel_id/company
conf_connec_upload_items=api-connec-yourdomain.maestrano.io/v1/admin/uploads/items
conf_connec_upload_organizations=api-connec-yourdomain.maestrano.io/v1/admin/uploads/organizations
conf_connec_upload_people=api-connec-yourdomain.maestrano.io/v1/admin/uploads/people
conf_connec_upload_protocol=http

# MCluster configuration
conf_mcluster_apps_domain=<CHANGE ME>
conf_mcluster_autostop_disabled=false
conf_mcluster_fallback_region=ap-southeast-1
conf_mcluster_mnoe_lockdown_region=ap-southeast-1

###################################
# Assets Management
###################################

# The AWS credentials to use to manage the 'assets' bucket (used to upload images, js/css files)
aws_s3_access_key_id=<CHANGE ME>
aws_s3_secret_access_key=<CHANGE ME>

conf_carrierwave_asset_host=<CHANGE ME>
conf_carrierwave_private_bucket=<CHANGE ME>
conf_carrierwave_public_bucket=<CHANGE ME>
conf_carrierwave_region=<CHANGE ME>

###################################
# Application Configuration
###################################

# Enable/Disable sidekiq for Maestrano Hub. Should be set to false
conf_background_job_disable_recurring_jobs=false

# Default support email displayed on pages
conf_contact_support=<CHANGE ME example: support@yourdomain.io>

# Used for geolocalisation
conf_geocoder_ip_lookup=geoip2
conf_geocoder_lookup=google
conf_google_map_api_key=<CHANGE ME Retrieved from Google https://developers.google.com/maps/documentation/javascript/get-api-key>

conf_microsoft_partner_id=<CHANGE ME>

# This value is used to generate unique email addresses for application providers
conf_sso_virtual_email_domain=appmail.yourdomain.io

# This service is used to convert monetary values. Put your OpenExchangeRate.org API key
OPENEXCHANGERATES_APP_ID=<CHANGE ME OpenExchangeRate.org API key>

# OPTIONAL: New Relic app name and enablement flag.
newrelic_app_name=<CHANGE ME>
newrelic_license_key=<CHANGE ME>

#############################################################################################
# Applications Hosting
# OPTIONAL: only required if hosted apps are enabled. Please contact us.
#############################################################################################
# Nex! configuration - only required if hosted apps or webstores must be enabled
NEX_API_KEY=<CHANGE ME>
NEX_ENDPOINT=<CHANGE ME>

# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
FORCE_SSL=true

#############################################################################################
# Payment Gateways
# OPTIONAL
#############################################################################################
# Braintree credentials.
braintree_merchant_id=<OPTIONAL CHANGE ME>
braintree_private_key=<OPTIONALCHANGE ME>
braintree_public_key=<CHANGE ME>

# eWay credentials.
eway_login=<OPTIONAL CHANGE ME>
eway_password=<OPTIONAL CHANGE ME>
eway_username=<OPTIONAL CHANGE ME>

...