-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (52 loc) · 1.87 KB
/
Copy pathdocker-compose.yml
File metadata and controls
56 lines (52 loc) · 1.87 KB
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
version: '3'
services:
myapp:
container_name: SLA-Monitor
build: .
command: npm run start
volumes:
- .:/usr/app/
- /usr/app/node_modules
ports:
- "8080:8080"
depends_on:
- redis
environment:
# TMF_URL: http://172.28.3.126:31080/tmf-api/productCatalogManagement/v4/productOffering/ # TMF Catalog URL
TMF_URL: http://172.28.3.15:31080/tmf-api/productCatalogManagement/v4/productOffering/
SCLCM_URL: http://172.28.3.6:31080/smart-contract-lifecycle-manager/api/v1/service-level-agreement # SCLCM URL
DL_SUB_URL: http://172.28.3.94:8080/datalake/v1/stream_data/register/ # Datalake subscription URL
REDIS_URL: redis://redis:6379 # Redis Host
DL_USER_ID: sla-monitor # Datalake User Id
KAFKA_TOPIC_IN: sla-monitor-topic-in
KAFKA_TOPIC_OUT: sla-monitor-topic-out
KAFKA_TOPIC_SLA: isbp-topic
KAFKA_GROUP_ID : "none"
#KAFKA_HOST : "kafka:9092"
KAFKA_HOST : "172.28.3.196:9092"
redis:
image: redis
container_name: redis
ports:
- '6379:6379'
volumes:
- redis_data:/data
volumes:
redis_data:
#kafka:
# image: spotify/kafka
# container_name: kafka
# ports:
# - 9092:9092
# - 29092:29092
# environment:
# ADVERTISED_HOST: kafka
# ADVERTISED_PORT: '9092'
# AUTO_CREATE_TOPICS: 'true'
# GROUP_ID: none
# command: >
# bash -c "(sleep 3s
# && /opt/kafka_2.11-0.10.1.0/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic new-sla
# && /opt/kafka_2.11-0.10.1.0/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic monitoring
# && /opt/kafka_2.11-0.10.1.0/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic output &)
# && (supervisord -n)"