Add docker compose user environment variables 80/123480/1
authorBruno Sakoto <bruno.sakoto@bell.ca>
Mon, 23 Aug 2021 22:50:41 +0000 (18:50 -0400)
committerBruno Sakoto <bruno.sakoto@bell.ca>
Mon, 23 Aug 2021 22:50:41 +0000 (18:50 -0400)
Issue-ID: CPS-586
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
Change-Id: I74827e056bb782eb6b758b6354da56cd059e44e8

docker-compose.yml

index 2e382de..c41c4ed 100755 (executable)
@@ -31,6 +31,8 @@ services:
       DB_PORT: 5432
       DB_USERNAME: cpstemporal
       DB_PASSWORD: cpstemporal
+      APP_USERNAME: ${APP_USERNAME:-cpsuser}
+      APP_PASSWORD: ${APP_PASSWORD:-cpsr0cks!}
       KAFKA_BOOTSTRAP_SERVER: kafka:9092
 
     restart: unless-stopped