fuel-ccp-glance/service/files/glance-registry.conf.j2

41 lines
1.0 KiB
Django/Jinja

[DEFAULT]
debug = {{ glance.debug }}
use_syslog = False
use_stderr = True
use_forwarded_for = True
bind_host = {{ network_topology["private"]["address"] }}
bind_port = {{ glance.registry_port.cont }}
registry_host = glance-registry
cinder_catalog_info = volume:cinder:internalURL
show_multiple_locations = True
[database]
connection = mysql+pymysql://{{ glance.db.username }}:{{ glance.db.password }}@{{ address(service.database) }}/{{ glance.db.name }}
max_retries = -1
[keystone_authtoken]
auth_uri = http://{{ address('keystone') }}:{{ keystone.public_port.cont }}
auth_url = http://{{ address('keystone') }}:{{ keystone.admin_port.cont }}
auth_type = password
project_domain_id = default
user_domain_id = default
project_name = service
username = {{ glance.user }}
password = {{ glance.password }}
memcached_servers = {{ address('memcached') }}:{{ memcached.port.cont }}
[paste_deploy]
flavor = keystone
[glance_store]
default_store = file
filesystem_store_datadir = /var/lib/glance/images/
[oslo_messaging_notifications]
driver = noop