Merge "Docker support cassandra keyspace option"

This commit is contained in:
Zuul 2019-04-18 14:22:20 +00:00 committed by Gerrit Code Review
commit 0940820f6f
3 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,7 @@ ENV \
INFLUX_DB=mon \ INFLUX_DB=mon \
CASSANDRA_CONTACT_POINTS=cassandra \ CASSANDRA_CONTACT_POINTS=cassandra \
CASSANDRA_PORT=9042 \ CASSANDRA_PORT=9042 \
CASSANDRA_KEY_SPACE=monasca \
CASSANDRA_USER=mon_persister \ CASSANDRA_USER=mon_persister \
CASSANDRA_PASSWORD=password \ CASSANDRA_PASSWORD=password \
MYSQL_HOST=mysql \ MYSQL_HOST=mysql \

View File

@ -53,6 +53,7 @@ INFLUX_PASSWORD password
INFLUX_DB mon The influx database name INFLUX_DB mon The influx database name
CASSANDRA_CONTACT_POINTS cassandra Cassandra node addresses CASSANDRA_CONTACT_POINTS cassandra Cassandra node addresses
CASSANDRA_PORT 9042 Cassandra port number CASSANDRA_PORT 9042 Cassandra port number
CASSANDRA_KEY_SPACE monasca Cassandra keyspace where metric are stored
CASSANDRA_USER mon_persister Cassandra user name CASSANDRA_USER mon_persister Cassandra user name
CASSANDRA_PASSWORD password Cassandra password CASSANDRA_PASSWORD password Cassandra password
MYSQL_DB_HOST mysql The host for MySQL MYSQL_DB_HOST mysql The host for MySQL

View File

@ -183,7 +183,7 @@ port = {{ CASSANDRA_PORT | default('9042') }}
# #
# keyspace where metric are stored # keyspace where metric are stored
# (string value) # (string value)
keyspace = monasca keyspace = {{ CASSANDRA_KEY_SPACE }}
# #
# Cassandra user for monasca-api service # Cassandra user for monasca-api service