source: cows_wps/trunk/paste_deploy_config.ini_tmpl @ 5615

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cows_wps/trunk/paste_deploy_config.ini_tmpl@7084
Revision 5615, 5.2 KB checked in by spascoe, 10 years ago (diff)

COWS WPS package copied from
 http://proj.badc.rl.ac.uk/svn/dcip/cows-wps/trunk.

This is a stripped down version of the DDP WPS. Some features are
removed and others have been deactivated until we reimplement them in a
more generic way.

Line 
1#
2# cows_wps - Pylons development environment configuration
3#
4# The %(here)s variable will be replaced with the parent directory of this file
5#
6[DEFAULT]
7debug = true
8# Uncomment and replace with the address which should receive any error reports
9#email_to = you@yourdomain.com
10smtp_server = localhost
11error_email_from = paste@localhost
12
13##############################################################################
14# Server configuration section
15
16[server:main]
17use = egg:Paste#http
18# Note host must be changed to 0.0.0.0 to listen for external connections
19host = 127.0.0.1
20port = 8080
21
22##############################################################################
23# Main WSGI application section
24
25[app:main]
26use = egg:cows_wps
27full_stack = true
28cache_dir = ${ddp_cache}/pylons_data
29
30# If behind a proxy uncomment this and edit the filter:proxy-prefix section
31#filter-with = proxy-prefix
32
33# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
34# Debug mode will enable the interactive debugging tool, allowing ANYONE to
35# execute malicious code after an exception is raised.
36#set debug = false
37
38
39##############################################################################
40# WPS config section
41
42#!NOTE: wps.logs_dir is removed.  Use logging config section below
43
44# Path to the whole DDP stack.  Used for reading configuration files
45wps.ddp_path = ${ddp_base}
46
47# Directory where process output directories are stored.  Needs to be shared
48# across all nodes under the same path
49wps.proc_output_dir = ${ddp_cache}/proc_outputs
50
51# Place where config initialisation files are stored.  Theoretically doesn't
52# need to be visible to execute hosts but some processes might rely on it.
53wps.proc_config_dir = ${ddp_base}/wps-ng/configs
54
55# Metadata output options
56wps.max_len_metadata_line = 42
57
58# Initiation file for the process output rules
59wps.outputs_rules = ${ddp_base}/wps-ng/outputs_rules.ini
60
61# Database backend options
62wps.database_url = sqlite:///:memory:
63#wps.database_url = sqlite:////some/place/db/name.db
64#wps.database_url = postgres://wps:m0nGOliA_^!@localhost/test_cows_wps
65
66#Email sending arguments
67wps.notify_email_from = no-reply@wps
68wps.mailhost = <mailhost>
69wps.ukcp_helpdesk_url = http://ukclimateprojections.defra.gov.uk/content/view/518/681/
70wps.ui_url_to_jobs_page = http://localhost/jobs/page/path/jobs.php
71
72#User database connection
73wps.userdb_url = postgres://user:pass@server/name
74wps.userdb_test = false
75
76wps.reuse_url =  http://ukclimateprojections-ui.defra.gov.uk/ui/submit/submit.php?submitid=<REQUEST_ID>
77
78
79# Sun Grid Engine options
80wps.sge_root = /usr/local/sge
81wps.sge_cell = default
82wps.max_proc_duration = 300
83wps.sge_queue_l = test_l.q
84wps.sge_queue_s = test_s.q
85wps.max_l_proc = 1
86wps.max_s_proc = 2
87wps.sge_queue_timeout = 5
88wps.runproc_path = %(here)s/bin/ddp_runproc
89
90# Nappy configuration
91wps.nappy_base = ${ddp_base}/../nappy
92wps.nappy_locals = ${ddp_base}/config/nappy_ukcp09_attributes.ini
93wps.nappy_annotations = ${ddp_base}/config/ukcp09_nappy_annotations.ini
94
95# Threshold Detector options
96wps.td_config = ${ddp_base}/lib/ddp/threshold_detector/td.ini
97
98
99# VNC options
100# Where vncserver will put config information
101wps.vnc_user_dir = ${ddp_cache}/.vncctrl
102
103# Caching configuration
104# Set wps.caching_enabled to "true", "on" or "1" to enable caching
105wps.caching_enabled = false
106
107# Matplotlib config dir
108wps.mpl_configdir = %(here)s/.matplotlib
109
110# Multi-process worker pool options
111wps.worker_pool = 5
112
113# Output directory striping.  Processes can be configured to be sent to a
114# host-dependent path
115wps.stripe_outputs = false
116###
117# In striping mode map each wps host to "proc_outputs_dir sge_host redirect_prefix"
118#wps.striped_outputs_host_map =
119#  ddp-app1 = /disks/acache1 ddp-store1 http://ddp-store1.badc.rl.ac.uk/wps_dl
120#  ddp-app2 = /disks/acache2 ddp-store2 http://ddp-store2.badc.rl.ac.uk/wps_dl
121#  ddp-app3 = /disks/acache3 ddp-store3 http://ddp-store3.badc.rl.ac.uk/wps_dl
122#  ddp-app6 = /disks/acache1 ddp-store1 http://ddp-store1.badc.rl.ac.uk/wps_dl
123#  ddp-app7 = /disks/acache2 ddp-store2 http://ddp-store2.badc.rl.ac.uk/wps_dl
124#  ddp-app8 = /disks/acache3 ddp-store3 http://ddp-store3.badc.rl.ac.uk/wps_dl
125#  ddp-app9 = /disks/acache1 ddp-store1 http://ddp-store1.badc.rl.ac.uk/wps_dl
126#  ddp-app10 = /disks/acache2 ddp-store2 http://ddp-store2.badc.rl.ac.uk/wps_dl
127#  ddp-app11 = /disks/acache3: ddp-store3 http://ddp-store3.badc.rl.ac.uk/wps_dl
128
129##############################################################################
130# COWS configuration section
131
132ows_server.capabilities_config = %(here)s/capabilities.conf
133
134##############################################################################
135# Proxy config
136
137# Edit this to work behind a proxy. 
138# It should match the apache ProxyPass directive
139[filter:proxy-prefix]
140use = egg:PasteDeploy#prefix
141prefix = /wps-ng
142
143
144
145#############################################################################
146# Logging configuration
147
148[loggers]
149keys = root, cows_wps
150
151[handlers]
152keys = console
153
154[formatters]
155keys = generic
156
157[logger_root]
158level = INFO
159handlers = console
160
161[logger_cows_wps]
162level = DEBUG
163handlers =
164qualname = cows_wps
165
166[handler_console]
167class = StreamHandler
168args = (sys.stderr,)
169level = NOTSET
170formatter = generic
171
172[formatter_generic]
173format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
174datefmt = %H:%M:%S
Note: See TracBrowser for help on using the repository browser.