-
Notifications
You must be signed in to change notification settings - Fork 28
/
docker-compose.yml
87 lines (79 loc) · 2.14 KB
/
docker-compose.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#
# Contains the full stack of the RTB4FREe stack (not including elk))
# Does contain zookeeper and kafka, postgres and minio
#
version: "3"
services:
zookeeper:
image: "zookeeper"
ports:
- "2181:2181"
kafka:
image: "ches/kafka"
environment:
ZOOKEEPER_IP: "zookeeper"
ports:
- "9092:9092"
restart: always
depends_on:
- zookeeper
sqldb:
image: "postgres"
environment:
- "POSTGRES_PASSWORD=postgres"
ports:
- "5432:5432"
volumes:
- /tmp/data:/var/lib/postgresql/data
bidder:
image: jacamars/newbidder
environment:
BROKERLIST: "kafka:9092"
EXTERNAL: "http://localhost:8080"
JDBC: "jdbc:postgresql://sqldb/postgres?user=postgres&password=postgres"
S3BUCKET: ""
S3REGION: "us-east-1"
S3ENDPOINT: "${S3ENDPOINT}"
AWSACCESSKEY: "${AWSACCESSKEY}"
AWSSECRETKEY: "${AWSSECRETKEY}"
GOOGLE_EKEY: ""
GOOGLE_IKEY: ""
OPENX_EKEY: ""
OPENX_IKEY: ""
ADX_EKEY: ""
ADX_IKEY: ""
#volumes:
# - /payday.json:./Campaigns/payday.json
ports:
- "8080:8080"
- "8155:8155"
- "5701:5701"
- "7379:7379"
command: bash -c "./wait-for-it.sh kafka:9092 -t 120 && ./wait-for-it.sh sqldb:5432 -t 120 && ./wait-for-it.sh minio:9000 -t 120 && ./rtb4free s3://rtb4free-big-data/config/payday.json"
minio:
image: minio/minio
ports:
- '9000:9000'
environment:
- MINIO_ACCESS_KEY=${AWSACCESSKEY}
- MINIO_SECRET_KEY=${AWSSECRETKEY}
volumes:
- /tmp/s3:/data
command: server /data
elastic1:
image: ploh/elastic_pwd # from docker.elastic.co/elasticsearch/elasticsearch:6.2.2, added demo data
environment:
- discovery.type=single-node
- "ES_JAVA_OPTS=-Xms1g -Xmx1g"
logstash1:
image: ploh/logstash_pwd
environment:
- "XPACK_MONITORING_ELASTICSEARCH_URL=http://elastic1:9200"
- "XPACK_MONITORING_ENABLED=true"
kibana:
image: docker.elastic.co/kibana/kibana:6.2.2
environment:
- SERVER_NAME=elastic1
- ELASTICSEARCH_URL=http://elastic1:9200
ports:
- "5601:5601"