-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
50 lines (48 loc) · 1016 Bytes
/
docker-compose.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
50
version: '3'
##
# Test docker-compose file to allow execution of the integration tests
##
services:
##
# Scorpio broker
##
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
scorpio:
image: scorpiobroker/scorpio:scorpio-aaio-no-eureka_latest
ports:
- "9090:9090"
depends_on:
- postgres
- kafka