8e3b79440c
This change allows the following use cases: 1. Using an already-configured MariaDB / MySQL server / Cluster 2. Using already-created DB users, without requiring root DB access. Update: added external mariadb precheck Change-Id: I78b0d178306d7c5293b0bf53e445f19f18b4b824 Implements: blueprint external-mariadb-support. Closes-Bug: #1603121
30 lines
895 B
YAML
30 lines
895 B
YAML
---
|
|
project_name: "rally"
|
|
|
|
rally_services:
|
|
rally:
|
|
container_name: "rally"
|
|
image: "{{ rally_image_full }}"
|
|
enabled: true
|
|
group: "rally"
|
|
volumes:
|
|
- "{{ node_config_directory }}/rally/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "kolla_logs:/var/log/kolla/"
|
|
|
|
|
|
########
|
|
# Docker
|
|
########
|
|
rally_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ kolla_base_distro }}-{{ kolla_install_type }}-rally"
|
|
rally_tag: "{{ openstack_release }}"
|
|
rally_image_full: "{{ rally_image }}:{{ rally_tag }}"
|
|
|
|
|
|
####################
|
|
# Database
|
|
####################
|
|
rally_database_name: "rally"
|
|
rally_database_user: "{% if use_preconfigured_databases | bool and use_common_mariadb_user | bool %}{{ database_user }}{% else %}rally{% endif %}"
|
|
rally_database_address: "{{ database_address }}:{{ database_port }}"
|