Add VIRTUAL_ENV to docker-compose

This fixes `make test` in the docker-compose, as `up-reqs` checks for
this envvar before installing requirements.  Since this is in a docker
container for testing, just allow pip to install without a virtualenv.

Change-Id: I511efa9fab8d393bf9f2b8e80408fb8cf155bafa
This commit is contained in:
James Chuong 2018-05-23 17:17:23 -07:00
parent a47b6c330d
commit 268d826158
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ services:
command: make test command: make test
environment: environment:
SQLALCHEMY_DATABASE_URI: postgresql://lemur:lemur@postgres:5432/lemur SQLALCHEMY_DATABASE_URI: postgresql://lemur:lemur@postgres:5432/lemur
VIRTUAL_ENV: 'true'
postgres: postgres:
image: postgres:9.4 image: postgres:9.4