# Example configuration for OpenTox, please adjust to your settings # # Database setup: # # Example MySql: # :database: :adapter: mysql :database: production :username: root :password: opentox :host: localhost # # Example 1: Using external test services # # :services: # opentox-compound: "http://webservices.in-silico.ch/compound/" # opentox-dataset: "http://webservices.in-silico.ch/dataset/" # opentox-algorithm: "http://webservices.in-silico.ch/algorithm/" # opentox-model: "http://webservices.in-silico.ch/model/" # opentox-task: "http://webservices.in-silico.ch/task/" # opentox-validation: "http://opentox.informatik.uni-freiburg.de/validation/" # # Example 2: Using local services :base_dir: /home/ist/webservices :webserver: passenger :services: opentox-compound: "http://localhost/compound/" opentox-dataset: "http://localhost/dataset/" opentox-algorithm: "http://localhost/algorithm/" opentox-model: "http://localhost/model/" opentox-task: "http://localhost/task/" opentox-validation: "http://localhost/validation/" # # Accept headers: # :accept_headers: opentox-compound: - "chemical/x-daylight-smiles" - "chemical/x-inchi" - "chemical/x-mdl-sdfile" - "image/gif" - "text/plain" opentox-dataset: - "application/x-yaml" - "application/rdf+xml" opentox-algorithm: - "application/x-yaml" - "application/rdf+xml" opentox-model: - "application/x-yaml" - "application/rdf+xml" opentox-task: - "application/x-yaml" - "application/rdf+xml" opentox-validation: - "application/x-yaml" - "application/rdf+xml" # Timeouts: # :default_task_max_duration: 3600 :external_task_max_duration: 3600