Anthony Young | b6838a1 | 2011-09-13 17:13:32 -0700 | [diff] [blame] | 1 | [DEFAULT] |
| 2 | # Show more verbose log output (sets INFO log level output) |
| 3 | verbose = True |
| 4 | |
| 5 | # Show debugging output in logs (sets DEBUG log level output) |
Anthony Young | a531b77 | 2011-09-20 09:59:54 -0700 | [diff] [blame] | 6 | debug = True |
Anthony Young | b6838a1 | 2011-09-13 17:13:32 -0700 | [diff] [blame] | 7 | |
| 8 | # Address to bind the registry server |
| 9 | bind_host = 0.0.0.0 |
| 10 | |
| 11 | # Port the bind the registry server to |
| 12 | bind_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 Pipes | 8957fea | 2011-11-07 14:06:15 -0500 | [diff] [blame] | 16 | #log_file = %DEST%/glance/registry.log |
Anthony Young | a531b77 | 2011-09-20 09:59:54 -0700 | [diff] [blame] | 17 | |
| 18 | # Where to store images |
Anthony Young | a27523a | 2011-09-20 10:57:38 -0700 | [diff] [blame] | 19 | filesystem_store_datadir = %DEST%/glance/images |
Anthony Young | b6838a1 | 2011-09-13 17:13:32 -0700 | [diff] [blame] | 20 | |
| 21 | # Send logs to syslog (/dev/log) instead of to file specified by `log_file` |
James E. Blair | 5855a64 | 2011-10-26 15:44:27 -0400 | [diff] [blame] | 22 | use_syslog = %SYSLOG% |
Anthony Young | b6838a1 | 2011-09-13 17:13:32 -0700 | [diff] [blame] | 23 | |
| 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 Young | a841644 | 2011-09-13 20:07:44 -0700 | [diff] [blame] | 27 | sql_connection = %SQL_CONN% |
Anthony Young | b6838a1 | 2011-09-13 17:13:32 -0700 | [diff] [blame] | 28 | |
| 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. |
| 36 | sql_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. |
| 40 | api_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` |
| 44 | limit_param_default = 25 |