-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
103 lines (102 loc) · 2.47 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: '3.9'
services:
catalog-connector:
build:
context: ./catalog-connector
dockerfile: Dockerfile
container_name: catalog-connector
environment:
- BROKER_URI=${BROKER_URI}
- CONTEXT_CATALOG_URI=${CONTEXT_CATALOG_URI}
hostname: catalog-connector
volumes:
- ./catalog-connector/catalog_connector:/opt/inventory/catalog-connector/catalog_connector
context-catalog:
image: halverneus/static-file-server
hostname: context-catalog
container_name: context-catalog
ports:
- "8080"
volumes:
- ./context-catalog:/web
eureka:
image: scorpiobroker/scorpio:eureka-server_2.1.20
hostname: eureka
container_name: eureka
ports:
- "8761"
gateway:
image: scorpiobroker/scorpio:gateway_aaio_2.1.20
hostname: gateway
container_name: gateway
ports:
- "9090:9090"
depends_on:
- eureka
kafka:
container_name: kafka
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"
image: bitnami/kafka
hostname: kafka
ports:
- "9092"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- zookeeper
logging:
driver: none
platform-registry:
build:
context: ./platform-registry
dockerfile: Dockerfile
container_name: platform-registry
environment:
- BROKER_URI=${BROKER_URI}
- CONTEXT_CATALOG_URI=${CONTEXT_CATALOG_URI}
hostname: platform-registry
ports:
- "8090:8080"
volumes:
- ./platform-registry/platform_registry:/opt/inventory/platform-registry/platform_registry
postgres:
image: postgis/postgis
hostname: postgres
container_name: postgres
ports:
- "5432"
environment:
POSTGRES_USER: ngb
POSTGRES_PASSWORD: ngb
POSTGRES_DB: ngb
logging:
driver: none
volumes:
- scorpio-postgres-storage:/var/lib/postgresql/data
scorpio:
image: scorpiobroker/scorpio:scorpio-aaio_2.1.20
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
volumes:
scorpio-postgres-storage: