From 3da52076907385c8a42b817f7aceb65e0dcb7cdd Mon Sep 17 00:00:00 2001 From: Renu Kumari Date: Wed, 14 Apr 2021 10:14:13 -0400 Subject: Remove default password from application.yml Issue-ID: CPS-319 Signed-off-by: Renu Kumari Change-Id: I61a5e098ffa173721cfa48aa0b992610f6a6e1a0 --- docker-compose/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docker-compose/README.md') diff --git a/docker-compose/README.md b/docker-compose/README.md index 3e9cd63169..4d20ece044 100644 --- a/docker-compose/README.md +++ b/docker-compose/README.md @@ -55,7 +55,7 @@ Then CPS can be started either using a Java Archive previously built or directly Following command starts the application using JAR file: ```bash -DB_HOST=localhost DB_USERNAME=cps DB_PASSWORD=cps \ +DB_HOST=localhost DB_USERNAME=cps DB_PASSWORD=cps CPS_USERNAME=cpsuser CPS_PASSWORD=cpsr0cks! \ java -jar cps-application/target/cps-application-x.y.z-SNAPSHOT.jar ``` @@ -65,7 +65,8 @@ Here are the steps to run or debug the application from Intellij: 1. Enable the desired maven profile form Maven Tool Window 2. Run a configuration from `Run -> Edit configurations` with following settings: - * `Environment variables`: `DB_HOST=localhost;DB_USERNAME=cps;DB_PASSWORD=cps` + * `Environment variables`: `DB_HOST=localhost;DB_USERNAME=cps;DB_PASSWORD=cps + CPS_USERNAME=cpsuser CPS_PASSWORD=cpsr0cks!` ## Accessing services -- cgit 1.2.3-korg