-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-scorpio.yml
84 lines (84 loc) · 1.84 KB
/
docker-compose-scorpio.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
version: '3'
services:
consumer:
build:
context: .
dockerfile: ./docker/consumer/Dockerfile
hostname: consumer
container_name: consumer
ports:
- "8080"
volumes:
- ./docker/consumer/consumer:/opt/sda/consumer/consumer
context-catalog:
image: halverneus/static-file-server
hostname: context-catalog
container_name: context-catalog
ports:
- "8080"
volumes:
- ./docker/context-catalog:/web
eureka:
image: scorpiobroker/scorpio:eureka-server_2.1.1
hostname: eureka
container_name: eureka
ports:
- "8761"
gateway:
image: scorpiobroker/scorpio:gateway_aaio_2.1.13
hostname: gateway
container_name: gateway
ports:
- "9090:9090"
depends_on:
- eureka
kafka:
image: bitnami/kafka
hostname: kafka
container_name: 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
hostname: postgres
container_name: postgres
ports:
- "5432"
environment:
POSTGRES_USER: ngb
POSTGRES_PASSWORD: ngb
POSTGRES_DB: ngb
logging:
driver: none
scorpio:
image: scorpiobroker/scorpio:scorpio-aaio_2.1.13
hostname: scorpio
container_name: scorpio
ports:
- "27015"
depends_on:
- gateway
- eureka
- postgres
- kafka
zookeeper:
image: zookeeper
hostname: zookeeper
container_name: zookeeper
ports:
- "2181"
logging:
driver: none