summaryrefslogtreecommitdiff
path: root/production.yaml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2011-02-09 11:30:08 +0100
committerChristoph Helma <helma@in-silico.ch>2011-02-09 11:30:08 +0100
commit493dc4f0268a853c8b5488803b14efb5540163b5 (patch)
treea77d8d21b10cee1b03d038abbc2dc33a6fd4e2d0 /production.yaml
parent0871dbf4fc3f8e1083490197b7be7be2b5163d14 (diff)
initial import
Diffstat (limited to 'production.yaml')
-rw-r--r--production.yaml42
1 files changed, 42 insertions, 0 deletions
diff --git a/production.yaml b/production.yaml
new file mode 100644
index 0000000..354f903
--- /dev/null
+++ b/production.yaml
@@ -0,0 +1,42 @@
+:base_dir: /var/www/opentox/
+
+:database:
+# sqlite3 is not recommended (councurrent write)
+ :adapter: mysql
+ :database: production
+ :username: production
+ :password: PASSWORD
+ :host: localhost
+
+:services:
+# make sure to enter a full uri (including training slash)
+ opentox-compound: "http://SERVERNAME/compound/"
+ opentox-dataset: "http://SERVERNAME/dataset/"
+ opentox-algorithm: "http://SERVERNAME/algorithm/"
+ opentox-model: "http://SERVERNAME/model/"
+ opentox-task: "http://SERVERNAME/task/"
+ opentox-toxcreate: "http://SERVERNAME/toxcreate/"
+ opentox-validation: "http://SERVERNAME/validation/"
+
+:yaml_hosts:
+ - "localhost"
+ - "SERVERNAME"
+ - "webservices.in-silico.ch"
+ - "opentox.informatik.uni-freiburg.de"
+
+# Uncomment for verbose logging
+LOGGER
+# :logger: debug
+
+# OpenSSO Authorization
+# set ":server: nil" to disable A&A
+:authorization:
+ :server: AA
+ :free_request: #not controlled by A&A
+ - "GET"
+ :authenticate_request: #only for authenticated user
+ - "POST"
+ :authorize_request: #only for authenticated and authorizeduser
+ - "DELETE"
+ - "PUT"
+