V2 Application Settings
Introduction
- Application settings are defined in Ruby code as a YAML file
Default settings are in config/settings.yaml
The defults can be overwritten in file config/settings.local.yaml
- The configuration file for each V2 application instance is saved in the v2deploy git repository
- Installed automatically as part of the deployment procedure
Recommended Settings
Emails
- The settings below are self-explanatory. The SMTP address is localhost, because the VM's are configured to relay the outgoing emails to the appropriate SMTP server, so the relay server has to be set only in one place for all systems in a VM.
The settings DefaultUrlOptions and FromAddress have to be customized.
Gems: ActionMailer: DefaultUrlOptions: gcz.works-organiser.com/carhuac PerformDeliveries: development: true test: false production: true FromAddress: "\"Carhuac HPP DMS\" <gcz-carhuac@works-organiser.com>" RaiseDeliveryErrors: true DeliveryMethod: :smtp Smtp: address: localhost domain: softxs.ch openssl_verify_mode: none