Sets environment variables

This commit is contained in:
Aaron Louie 2020-05-22 15:12:59 -04:00
parent 2cde2364d7
commit 0433e5f069
1 changed files with 9 additions and 0 deletions

View File

@ -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