root/universe_wsgi.ini.sample

Revision 1637:c141cb89aa45, 6.5 kB (checked in by Nate Coraor <nate@bx.psu.edu>, 1 day ago)

Fix job recovery

Line 
1 # ---- HTTP Server ----------------------------------------------------------
2
3 [server:main]
4
5 use = egg:Paste#http
6 port = 8080
7 host = 127.0.0.1
8 use_threadpool = true
9 threadpool_workers = 10
10
11 # ---- Galaxy Web Interface -------------------------------------------------
12
13 [app:main]
14
15 # Specifies the factory for the universe WSGI application
16 paste.app_factory = galaxy.web.buildapp:app_factory
17 log_level = DEBUG
18
19 # Log memory usage
20 log_memory_usage = False
21
22 # Log events
23 log_events = True
24
25 # Should jobs be tracked through the database, rather than in memory
26 ## track_jobs_in_database = true
27
28 # Enable job recovery (if Galaxy is restarted while cluster jobs are running,
29 # it can "recover" them when it starts).  This is not safe to use if you are
30 # running more than one Galaxy server using the same database.
31 #enable_job_recovery = True
32
33 # Number of concurrent jobs to run (local runner)
34 local_job_queue_workers = 5
35
36 # Job scheduling policy to be used.
37 # module/package name and classname should be in "module:classname" format.
38 # Comment / uncomment the following policies depending upon which is to be used.
39 #job_scheduler_policy = FIFO
40 job_scheduler_policy = galaxy.jobs.schedulingpolicy.roundrobin:UserRoundRobin
41
42 # Job queue cleanup interval in minutes. Currently only used by RoundRobin
43 job_queue_cleanup_interval = 30
44
45 # Database connection
46 database_file = database/universe.sqlite
47 # You may use a SQLAlchemy connection string to specify an external database instead
48 ## database_connection = postgres:///galaxy
49 ## database_engine_option_echo = true
50 ## database_engine_option_echo_pool = true
51 ## database_engine_option_pool_size = 10
52 ## database_engine_option_max_overflow = 20
53
54 # Where dataset files are saved
55 file_path = database/files
56 # Temporary storage for additional datasets, this should be shared through the cluster
57 new_file_path = database/tmp
58
59 # Tools
60 tool_config_file = tool_conf.xml
61 tool_path = tools
62 tool_data_path = tool-data
63
64 # Datatype converters
65 datatype_converters_config_file = datatype_converters_conf.xml
66 datatype_converters_path = %(here)s/lib/galaxy/datatypes/converters
67
68 # Session support (beaker)
69 use_beaker_session = True
70 session_type = file
71 session_data_dir = %(here)s/database/beaker_sessions
72 session_key = galaxysessions
73 session_secret = changethisinproduction
74
75 # Galaxy session security
76 id_secret = changethisinproductiontoo
77
78 # Use user provided in an upstream server's $REMOTE_USER variable
79 ## use_remote_user = False
80 # If use_remote_user is enabled and your external authentication
81 # method just returns bare usernames, set a default mail domain
82 ## remote_user_maildomain = example.org
83
84 # Configuration for debugging middleware
85 debug = true
86 use_lint = false
87
88 # NEVER enable this on a public site (even test or QA)
89 use_interactive = true
90
91 # Admin Password
92 admin_pass = galaxy
93
94 # path to sendmail
95 sendmail_path = /usr/sbin/sendmail
96
97 # Address to join mailing list
98 mailing_join_addr = galaxy-user-join@bx.psu.edu
99
100 # Write thread status periodically to 'heartbeat.log' (careful, uses disk space rapidly!)
101 ## use_heartbeat = True
102
103 # Enable the memory debugging interface (careful, negatively impacts server performance)
104 ## use_memdump = True
105
106 # Profiling middleware (cProfile based)
107 ## use_profile = True
108
109 # For use by 'report this error' link on error-state datasets
110 #smtp_server = smtp.example.org
111 #error_email_to = galaxy-bugs@example.org
112
113 # Use the new iframe / javascript based layout
114 use_new_layout = true
115
116 # Comma separated list of UCSC / gbrowse browsers to use for viewing
117 ucsc_display_sites = main,test,archaea
118 gbrowse_display_sites = elegans,flybase
119
120 # Serving static files (needed if running standalone)
121 static_enabled = True
122 static_cache_time = 360
123 static_dir = %(here)s/static/
124 static_images_dir = %(here)s/static/images
125 static_favicon_dir = %(here)s/static/favicon.ico
126 static_scripts_dir = %(here)s/static/scripts/
127 static_style_dir = %(here)s/static/june_2007_style/blue
128
129 ## Leave these commented out for the defaults at the main galaxy site
130 ## Uncomment and adjust these to change locally configurable items in the masthead
131 ## for a local mirror where you are doing private software development
132 ##
133 ## Brand: appends "/[brand]" to the "Galaxy" text in the masthead
134 ## wiki_url: replaces the default galaxy main wiki
135 ## bugs_email: replaces the default galaxy bugs email list
136 #brand = Private local mirror
137 #wiki_url = /path/to/my/local/wiki
138 #bugs_email = mailto:galaxy-bugs@example.org
139
140 # ---- Job Runners ----------------------------------------------------------
141
142 # Clustering Galaxy is not a straightforward process and requires a lot of
143 # pre-configuration.  See the ClusteringGalaxy Wiki before attempting to set
144 # any of these options:
145 #
146 # http://g2.trac.bx.psu.edu/wiki/ClusteringGalaxy
147 #
148 # If running normally (without a cluster), do not change anything in this
149 # section.
150
151 # start_job_runners: Comma-separated list of job runners to start.  local is
152 # always started.  If left commented, no jobs will be run on the cluster, even
153 # if a cluster URL is explicitly defined in the [galaxy:tool_runners] section
154 # below.  The runners currently available are 'pbs' and 'sge'.
155 #start_job_runners = pbs
156
157 # default_cluster_job_runner: The URL for the default runner to use when a tool
158 # doesn't explicity define a runner below.  For help on the cluster URL format,
159 # see the ClusteringGalaxy Wiki.  Leave commented if not using a cluster job
160 # runner.
161 #default_cluster_job_runner = pbs:///
162
163 # cluster_job_queue_workers: The cluster runners have their own thread pools
164 # used to prepare and finish jobs (so that these operations do not block normal
165 # queue operation).  The value here is the number of worker threads available
166 # to each runner.
167 #cluster_job_queue_workers = 5
168
169 # The PBS options are described in detail in the Galaxy Configuration section of
170 # the ClusteringGalaxy Wiki, and are only necessary when using file staging.
171 #pbs_application_server =
172 #pbs_stage_path =
173 #pbs_dataset_server =
174
175 # Individual per-tool job runner overrides.  If not listed here, a tool will
176 # run with the runner defined with default_cluster_job_runner.
177 [galaxy:tool_runners]
178
179 biomart = local:///
180 encode_db1 = local:///
181 encode_import_all_latest_datasets1 = local:///
182 encode_import_chromatin_and_chromosomes1 = local:///
183 encode_import_gencode1 = local:///
184 encode_import_genes_and_transcripts1 = local:///
185 encode_import_multi-species_sequence_analysis1 = local:///
186 encode_import_transcription_regulation1 = local:///
187 hbvar = local:///
188 microbial_import1 = local:///
189 ucsc_table_direct1 = local:///
190 ucsc_table_direct_archaea1 = local:///
191 ucsc_table_direct_test1 = local:///
192 upload1 = local:///
Note: See TracBrowser for help on using the browser.