From 0433e5f069dd3c93dfd151b92dcbc6df87786819 Mon Sep 17 00:00:00 2001 From: Aaron Louie Date: Fri, 22 May 2020 15:12:59 -0400 Subject: [PATCH] Sets environment variables --- docker/docker-compose.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 9f6ccb7..4a39556 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -24,6 +24,10 @@ services: - RESET_DB=true - LDAP_URL=ldap - DB_HOST=db + - DB_PORT=5432 + - DB_PASSWORD=crc_pass + - DB_USER=crc_user + - DB_NAME=crc_test ports: - "5000:5000" command: ./wait-for-it.sh db:5432 -t 0 -- ./docker_run.sh @@ -33,6 +37,11 @@ services: image: sartography/protocol-builder-mock:$E2E_TAG environment: - FLASK_APP=/protocol-builder-mock/app.py + - DB_HOST=db + - DB_PORT=5432 + - DB_PASSWORD=crc_pass + - DB_USER=crc_user + - DB_NAME=pb_test ports: - "5001:5001" command: ./wait-for-it.sh db:5432 -t 0 -- ./docker_run.sh