2017-04-29 02:28:06 +10:00
|
|
|
---
|
|
|
|
version: '2.0'
|
|
|
|
services:
|
|
|
|
test:
|
|
|
|
build: .
|
|
|
|
volumes:
|
|
|
|
- ".:/app"
|
|
|
|
links:
|
|
|
|
- postgres
|
|
|
|
command: make test
|
|
|
|
environment:
|
|
|
|
SQLALCHEMY_DATABASE_URI: postgresql://lemur:lemur@postgres:5432/lemur
|
2018-05-23 17:17:23 -07:00
|
|
|
VIRTUAL_ENV: 'true'
|
2017-04-29 02:28:06 +10:00
|
|
|
|
|
|
|
postgres:
|
2019-04-10 15:40:48 -07:00
|
|
|
image: postgres
|
|
|
|
restart: always
|
2017-04-29 02:28:06 +10:00
|
|
|
environment:
|
|
|
|
POSTGRES_USER: lemur
|
|
|
|
POSTGRES_PASSWORD: lemur
|
2019-04-10 15:40:48 -07:00
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
2018-10-22 14:51:13 -07:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: "redis:alpine"
|
|
|
|
ports:
|
|
|
|
- "6379:6379"
|