summaryrefslogtreecommitdiffstats
path: root/deploy/compass_conf/setting
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-06-09 07:26:19 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-06-09 07:26:19 +0000
commitdcce2491af9015d6d903d784ae1c145f329ece43 (patch)
tree617c90be07cccce7407598d66398536999344116 /deploy/compass_conf/setting
parent8ed47ae6ab2e57a37cd90707adcd0b2ea53362a1 (diff)
parentd635bd1f5762acd78545b650b2f55c112643b486 (diff)
Merge "support Containerized compass-core"
Diffstat (limited to 'deploy/compass_conf/setting')
-rwxr-xr-xdeploy/compass_conf/setting2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/compass_conf/setting b/deploy/compass_conf/setting
index a1e9bff2..d385939a 100755
--- a/deploy/compass_conf/setting
+++ b/deploy/compass_conf/setting
@@ -2,7 +2,7 @@ CONFIG_DIR = '/etc/compass'
DATABASE_TYPE = 'mysql'
DATABASE_USER = 'root'
DATABASE_PASSWORD = 'root'
-DATABASE_SERVER = '127.0.0.1:3306'
+DATABASE_SERVER = 'compass-db:3306'
DATABASE_NAME = 'compass'
SQLALCHEMY_DATABASE_URI = '%s://%s:%s@%s/%s' % (DATABASE_TYPE, DATABASE_USER, DATABASE_PASSWORD, DATABASE_SERVER, DATABASE_NAME)
SQLALCHEMY_DATABASE_POOL_TYPE = 'instant'