summaryrefslogtreecommitdiff
path: root/lib/templates/config.yaml
blob: e8084bdd4a2615049b51bc6584b72a26a6b18366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Example configuration for OpenTox, please adjust to your settings
# 
# Database setup:
#
# Example MySql:
#
# :database: 
#   :adapter:  mysql
#   :database: production
#   :username: production
#   :password: your_password
#   :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/ch/webservices
# :webserver: thin
# :services:
#   opentox-compound:      "http://localhost:4000/"
#   opentox-dataset:       "http://localhost:4001/"
#   opentox-algorithm:     "http://localhost:4002/"
#   opentox-model:         "http://localhost:4003/"
#   opentox-task:          "http://localhost:4004/"
#   opentox-validation:    "http://opentox.informatik.uni-freiburg.de/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"
#     - "text/x-yaml"
#     - "application/rdf+xml"
#   opentox-algorithm:     
#     - "application/x-yaml"
#     - "text/x-yaml"
#     - "application/rdf+xml"
#   opentox-model:         
#     - "application/x-yaml"
#     - "text/x-yaml"
#     - "application/rdf+xml"
#   opentox-task:          
#     - "application/x-yaml"
#     - "text/x-yaml"
#     - "application/rdf+xml"
#   opentox-validation:    
#     - "application/x-yaml"
#     - "text/x-yaml"
#     - "application/rdf+xml"

# Timeouts:
# 
# :default_task_max_duration: 3600
# :external_task_max_duration: 3600