26 lines
921 B
INI
26 lines
921 B
INI
# From devstack commit ecdd8fc6ba872f7615bf78a1df71e3dc7d8e1d23
|
|
|
|
[pipeline:glance-registry]
|
|
#pipeline = context registryapp
|
|
# NOTE: use the following pipeline for keystone
|
|
pipeline = authtoken context registryapp
|
|
|
|
[app:registryapp]
|
|
paste.app_factory = glance.common.wsgi:app_factory
|
|
glance.app_factory = glance.registry.api.v1:API
|
|
|
|
[filter:context]
|
|
context_class = glance.registry.context.RequestContext
|
|
paste.filter_factory = glance.common.wsgi:filter_factory
|
|
glance.filter_factory = glance.common.context:ContextMiddleware
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
|
auth_host = %KEYSTONE_AUTH_HOST%
|
|
auth_port = %KEYSTONE_AUTH_PORT%
|
|
auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
|
|
auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/
|
|
admin_tenant_name = %SERVICE_TENANT_NAME%
|
|
admin_user = %SERVICE_USERNAME%
|
|
admin_password = %SERVICE_PASSWORD%
|