blob: 2c3274574081a0dd4e145c8463ddb90618feabb2 [file] [log] [blame]
Anthony Youngb6838a12011-09-13 17:13:32 -07001[DEFAULT]
2# Show more verbose log output (sets INFO log level output)
3verbose = True
4
5# Show debugging output in logs (sets DEBUG log level output)
Anthony Younga531b772011-09-20 09:59:54 -07006debug = True
Anthony Youngb6838a12011-09-13 17:13:32 -07007
8# Address to bind the registry server
9bind_host = 0.0.0.0
10
11# Port the bind the registry server to
12bind_port = 9191
13
14# Log to this file. Make sure you do not set the same log
15# file for both the API and registry servers!
Jay Pipes8957fea2011-11-07 14:06:15 -050016#log_file = %DEST%/glance/registry.log
Anthony Younga531b772011-09-20 09:59:54 -070017
18# Where to store images
Anthony Younga27523a2011-09-20 10:57:38 -070019filesystem_store_datadir = %DEST%/glance/images
Anthony Youngb6838a12011-09-13 17:13:32 -070020
21# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
James E. Blair5855a642011-10-26 15:44:27 -040022use_syslog = %SYSLOG%
Anthony Youngb6838a12011-09-13 17:13:32 -070023
24# SQLAlchemy connection string for the reference implementation
25# registry server. Any valid SQLAlchemy connection string is fine.
26# See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
Anthony Younga8416442011-09-13 20:07:44 -070027sql_connection = %SQL_CONN%
Anthony Youngb6838a12011-09-13 17:13:32 -070028
29# Period in seconds after which SQLAlchemy should reestablish its connection
30# to the database.
31#
32# MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
33# idle connections. This can result in 'MySQL Gone Away' exceptions. If you
34# notice this, you can lower this value to ensure that SQLAlchemy reconnects
35# before MySQL can drop the connection.
36sql_idle_timeout = 3600
37
38# Limit the api to return `param_limit_max` items in a call to a container. If
39# a larger `limit` query param is provided, it will be reduced to this value.
40api_limit_max = 1000
41
42# If a `limit` query param is not provided in an api request, it will
43# default to `limit_param_default`
44limit_param_default = 25