config/authentication.yml |
---|
Purpose | List of available Authentication Providers and associated configurations. |
Format | YAML |
Example | --- - :name: My LDAP Server :logo: auth_provider_logo.png :provider: :ldap :params: :method: :ssl :host: ldap.example.edu :port: 636 :bind_dn: cn=avalon,ou=service,dc=example,dc=edu :password: avalon_bind_password |
Notes | The name and logo settings are used when displaying multiple auth providers to choose from at login time. provider and params are passed directly to config.omniauth as described in the Devise OmniAuth Overview. |
|
config/avalon.yml | |
Contents | Environment-specific Avalon configuration options |
Format | YAML |
Example | production: controlled_vocabulary: path: 'config/controlled_vocabulary.yml' dropbox: path: '/usr/local/masterfiles/dropbox/' upload_uri: 'sftp://localhost/srv/avalon/dropbox' email: comments: 'digitalcollections@northwestern.edu' notification: 'digitalcollections@northwestern.edu' support:'digitalcollections@northwestern.edu' mailer: smtp: address: 'mail-relay.iu.edu' port: 587 enable_starttls_auto: false ffmpeg: path: '/usr/bin/ffmpeg' fedora: namespace: 'numedia' groups: system_groups: ['administrator', 'collection_manager', 'group_manager', 'manager'] matterhorn: root: 'http://avalon-mhorn-dev.library.northwestern.edu:8080/' media_path: '/usr/local/masterfiles' mediainfo: path: '/usr/bin/mediainfo' streaming: server: :generic # or :adobe rtmp_base: rtmp://localhost/avalon/ http_base: http://localhost:3000/streams/ stream_token_ttl: 20 #minutes |
| |
config/database.yml |
Purpose | Environment-specific database connection information for Rails. |
Format | YAML |
Example | production: adapter: mysql2 host: localhost database: rails username: rails password: rails pool: 5 timeout: 5000 |
Notes | See Configuring a Database in the Ruby on Rails Getting Started Guide for more options. Changing the database adapter will require updating Gemfile to require the correct adapter. Here are the instructions for installing the mysql adapter called mysql2. |
|
config/fedora.yml |
Contents | Environment-specific Fedora repository connection information for Hydra |
Format | YAML |
Example | production: user: fedoraAdmin password: fedoraAdmin url: http://127.0.0.1:8983/fedora |
|
config/matterhorn.yml |
Contents | Environment-specific Matterhorn connection information for Avalon's Matterhorn adapter |
Format | YAML |
Example | production: url: http://matterhorn_system_account:CHANGE_ME@127.0.0.1:8080/ |
Notes | This file specifies the system account used to send media to and fetch updates from Matterhorn, as opposed to the public Matterhorn root URL provided in avalon.yml, which is used solely for client-side interactions. |
|
config/solr.yml |
Purpose | Environment-specific Solr connection information for Hydra |
Format | YAML |
Example | production: url: http://localhost:8983/solr/production |
|
config/role_map_<environment>.yml |
Contents | Role groups and associated members to initialize the Hydra access controls database with |
Format | YAML |
Example | collection_manager: - archivist1@example.edu - archivist2@example.edu group_manager: - donor1@example.com manager: - researcher1@example.edu administrator: - user1@example.edu - user2@otherinstitution.edu |
Notes | Example environments: development, production, test. So the filename would look like role_map_production.yml for the production environment. |