Cps & ncmp docker compose failing 51/125551/1
authorDylanB95EST <dylan.byrne@est.tech>
Wed, 3 Nov 2021 11:20:07 +0000 (11:20 +0000)
committerDylanB95EST <dylan.byrne@est.tech>
Wed, 3 Nov 2021 11:20:12 +0000 (11:20 +0000)
Add default value to db hostname variable in docker compose file.

Issue-ID: CPS-759
Change-Id: Ib1aaa7f054c1a29f858ebaca3da31ed05d217713
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
docker-compose/docker-compose.yml

index 5bdff9d..81d5519 100755 (executable)
@@ -104,7 +104,7 @@ services:
     environment:
       CPS_USERNAME: ${CPS_CORE_USERNAME:-cpsuser}
       CPS_PASSWORD: ${CPS_CORE_PASSWORD:-cpsr0cks!}
-      DB_HOST: ${DB_HOST}
+      DB_HOST: ${DB_HOST:-dbpostgresql}
       DB_USERNAME: ${DB_USERNAME:-cps}
       DB_PASSWORD: ${DB_PASSWORD:-cps}
       DMI_USERNAME: ${DMI_USERNAME:-cpsuser}