268d826158
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
20 lines
362 B
YAML
20 lines
362 B
YAML
---
|
|
version: '2.0'
|
|
services:
|
|
test:
|
|
build: .
|
|
volumes:
|
|
- ".:/app"
|
|
links:
|
|
- postgres
|
|
command: make test
|
|
environment:
|
|
SQLALCHEMY_DATABASE_URI: postgresql://lemur:lemur@postgres:5432/lemur
|
|
VIRTUAL_ENV: 'true'
|
|
|
|
postgres:
|
|
image: postgres:9.4
|
|
environment:
|
|
POSTGRES_USER: lemur
|
|
POSTGRES_PASSWORD: lemur
|