2017-04-28 18:28:06 +02: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-24 02:17:23 +02:00
|
|
|
VIRTUAL_ENV: 'true'
|
2017-04-28 18:28:06 +02:00
|
|
|
|
|
|
|
postgres:
|
2019-04-11 00:40:48 +02:00
|
|
|
image: postgres
|
|
|
|
restart: always
|
2017-04-28 18:28:06 +02:00
|
|
|
environment:
|
|
|
|
POSTGRES_USER: lemur
|
|
|
|
POSTGRES_PASSWORD: lemur
|
2019-04-11 00:40:48 +02:00
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
2018-10-22 23:51:13 +02:00
|
|
|
|
|
|
|
redis:
|
|
|
|
image: "redis:alpine"
|
|
|
|
ports:
|
|
|
|
- "6379:6379"
|