-
Notifications
You must be signed in to change notification settings - Fork 32
/
docker-compose.yml
80 lines (72 loc) · 1.4 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
version: '2'
networks:
octo:
ipam:
driver: bridge
config:
- subnet: 192.168.99.0/24
gateway: 192.168.99.100
services:
octo_redis:
networks:
- octo
image: redis:latest
hostname: redis
octo_cassandra:
networks:
- octo
image: cassandra:2.2.4
hostname: cassandra
ports:
- "9042:9042"
octo_kafka:
networks:
- octo
image: spotify/kafka
hostname: kafka
ports:
- "2181:2181"
- "9092:9092"
environment:
- ADVERTISED_HOST=192.168.99.100
- ADVERTISED_PORT=9092
enterprisedashboard:
networks:
- octo
build: ./components/enterprise-dashboard
volumes:
- ./config.yml:/apps/config/config.yml
links:
- octo_redis:redis
ports:
- "9002:9002"
jobs:
networks:
- octo
build: ./components/recurring-jobs
volumes:
- ./config.yml:/apps/config/config.yml
links:
- octo_redis:redis
apihandler:
networks:
- octo
build: ./components/apihandler
volumes:
- ./config.yml:/apps/config/config.yml
- ./kong_config.yml:/apps/config/kong_config.yml
links:
- octo_redis:redis
- octo_cassandra:cassandra
ports:
- "9001:9001"
apiconsumer:
networks:
- octo
build: ./components/apiconsumer
volumes:
- ./config.yml:/apps/config/config.yml
links:
- octo_redis:redis
- octo_cassandra:cassandra
- octo_kafka:kafka