summaryrefslogtreecommitdiffstats
path: root/portal-BE/docker-compose.yml
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2019-10-18 14:39:00 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-18 14:39:00 +0000
commit7813e59e6a956610e719d5d8d722af9750913a4c (patch)
tree4289a43780f832d593c1c797423c58bf0baba7bf /portal-BE/docker-compose.yml
parentc1684af9051d67c8a21cee36b8082abf790738f2 (diff)
parent44d465b4604a7e73494efb2755dd05acf9d5ef7d (diff)
Merge "password moved from hard coded values to environment properties"
Diffstat (limited to 'portal-BE/docker-compose.yml')
-rw-r--r--portal-BE/docker-compose.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/portal-BE/docker-compose.yml b/portal-BE/docker-compose.yml
index 2293afb6..33ae6b0f 100644
--- a/portal-BE/docker-compose.yml
+++ b/portal-BE/docker-compose.yml
@@ -18,8 +18,8 @@ services:
restart: always
environment:
- MYSQL_DATABASE=testdb
- - MYSQL_USER=portal
- - MYSQL_PASSWORD=Test123456
+ - MYSQL_USER=${spring_datasource_username}
+ - MYSQL_PASSWORD=${spring_datasource_password}
- MYSQL_RANDOM_ROOT_PASSWORD=yes
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
@@ -32,6 +32,9 @@ services:
restart: always
ports:
- 8080:8080
+ environment:
+ - spring.datasource.username=${spring_datasource_username}
+ - spring.datasource.password=${spring_datasource_password}
depends_on:
- portal-db
networks: