-
Notifications
You must be signed in to change notification settings - Fork 28
/
docker-all.yml
72 lines (66 loc) · 1.66 KB
/
docker-all.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
#
# 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
doc:
image: jacamars/rtbx-website
ports:
- "9090:80"