---
project_name: "trove"

trove_services:
  trove-api:
    container_name: trove_api
    group: trove-api
    enabled: true
    image: "{{ trove_api_image_full }}"
    volumes:
      - "{{ node_config_directory }}/trove-api/:{{ container_config_directory }}/:ro"
      - "/etc/localtime:/etc/localtime:ro"
      - "kolla_logs:/var/log/kolla/"
      - "trove:/var/lib/trove/"
  trove-conductor:
    container_name: trove_conductor
    group: trove-conductor
    enabled: true
    image: "{{ trove_conductor_image_full }}"
    volumes:
      - "{{ node_config_directory }}/trove-conductor/:{{ container_config_directory }}/:ro"
      - "/etc/localtime:/etc/localtime:ro"
      - "kolla_logs:/var/log/kolla/"
      - "trove:/var/lib/trove/"
  trove-taskmanager:
    container_name: trove_taskmanager
    group: trove-taskmanager
    enabled: true
    image: "{{ trove_taskmanager_image_full }}"
    volumes:
      - "{{ node_config_directory }}/trove-taskmanager/:{{ container_config_directory }}/:ro"
      - "/etc/localtime:/etc/localtime:ro"
      - "kolla_logs:/var/log/kolla/"
      - "trove:/var/lib/trove/"


####################
# Database
####################
trove_database_name: "trove"
trove_database_user: "trove"
trove_database_address: "{{ kolla_internal_fqdn }}:{{ database_port }}"


####################
# Docker
####################
trove_install_type: "{{ kolla_install_type }}"
trove_tag: "{{ openstack_release }}"

trove_conductor_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ trove_install_type }}-trove-conductor"
trove_conductor_tag: "{{ trove_tag }}"
trove_conductor_image_full: "{{ trove_conductor_image }}:{{ trove_conductor_tag }}"

trove_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ trove_install_type }}-trove-api"
trove_api_tag: "{{ trove_tag }}"
trove_api_image_full: "{{ trove_api_image }}:{{ trove_api_tag }}"

trove_taskmanager_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ trove_install_type }}-trove-taskmanager"
trove_taskmanager_tag: "{{ trove_tag }}"
trove_taskmanager_image_full: "{{ trove_taskmanager_image }}:{{ trove_taskmanager_tag }}"


####################
# OpenStack
####################
trove_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ trove_api_port }}/v1.0/%(tenant_id)s"
trove_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ trove_api_port }}/v1.0/%(tenant_id)s"
trove_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ trove_api_port }}/v1.0/%(tenant_id)s"

trove_logging_debug: "{{ openstack_logging_debug }}"

trove_keystone_user: "trove"

openstack_trove_auth: "{{ openstack_auth }}"