-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yaml
49 lines (46 loc) · 1.32 KB
/
docker-compose.test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: "3.5"
services:
tester:
container_name: tester
command: ["--", "pytest", "-s"]
image: ${DOCKER_REGISTRY}/${TEST_IMAGE}:${image_tag}
build:
context: ./
dockerfile: tester/Dockerfile
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
networks:
- back-tier
- front-tier
volumes:
- './tester/src:/tests'
environment:
PERSISTER_KAFKA_TOPIC: ${PERSISTER_KAFKA_TOPIC}
ANNOTATOR_KAFKA_TOPIC: ${ANNOTATOR_KAFKA_TOPIC}
DEVELOPMENT: ${DEVELOPMENT}
KAFKA_BOOTSTRAP_SERVERS: ${KAFKA_BOOTSTRAP_SERVERS}
CASSANDRA_HOST: ${CASSANDRA_HOST}
CASSANDRA_PORT: ${CASSANDRA_PORT}
CASSANDRA_USER: ${CASSANDRA_USER}
CASSANDRA_PASSWORD: ${CASSANDRA_PASSWORD}
CASSANDRA_KEYSPACE: ${CASSANDRA_KEYSPACE}
CASSANDRA_USE_CLUSTER: ${CASSANDRA_USE_CLUSTER}
CASSANDRA_NODES: ${CASSANDRA_NODES}
MYSQL_HOST: mysql
MYSQL_DBNAME: ${MYSQL_DBNAME}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MODELS_PATH: /models
GIT_REPO_MODELS: ${GIT_REPO_MODELS}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
depends_on:
- kafka
- mysql
- cassandrasmfr
- persister
- aggregator
- annotator
- geocoder
- restserver