diff options
author | Manoop Talasila <talasila@research.att.com> | 2019-10-18 14:39:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-10-18 14:39:00 +0000 |
commit | 7813e59e6a956610e719d5d8d722af9750913a4c (patch) | |
tree | 4289a43780f832d593c1c797423c58bf0baba7bf /portal-BE/docker-compose.yml | |
parent | c1684af9051d67c8a21cee36b8082abf790738f2 (diff) | |
parent | 44d465b4604a7e73494efb2755dd05acf9d5ef7d (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.yml | 7 |
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: |