forked from ScorpioBroker/ScorpioBroker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-aaio-gateway.yml
55 lines (54 loc) · 1.12 KB
/
docker-compose-aaio-gateway.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
version: '3'
services:
zookeeper:
image: zookeeper
ports:
- "2181"
logging:
driver: none
kafka:
image: bitnami/kafka
ports:
- "9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: kafka
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
KAFKA_ADVERTISED_PORT: 9092
KAFKA_LOG_RETENTION_MS: 10000
KAFKA_LOG_RETENTION_CHECK_INTERVAL_MS: 5000
ALLOW_PLAINTEXT_LISTENER: "yes"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- zookeeper
logging:
driver: none
postgres:
image: postgis/postgis
ports:
- "5432"
environment:
POSTGRES_USER: ngb
POSTGRES_PASSWORD: ngb
POSTGRES_DB: ngb
logging:
driver: none
eureka:
image: scorpiobroker/scorpio:eureka-server_latest
ports:
- "8761"
gateway:
image: scorpiobroker/scorpio:gateway_aaio_latest
ports:
- "9090:9090"
depends_on:
- eureka
scorpio:
image: scorpiobroker/scorpio:scorpio-aaio_latest
ports:
- "27015"
depends_on:
- gateway
- eureka
- postgres
- kafka