-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathdocker-compose-cdsp.yml
75 lines (69 loc) · 1.8 KB
/
docker-compose-cdsp.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
name: cdsp
services:
# Apache IoTDB acting as VSS Data Store
iotdb-service:
hostname: iotdb-service
container_name: iotdb-service
build:
context: iotdb # CDSP IoTDB image
args:
IOTDB_VERSION: 1.3.3
SERVICE_HOSTNAME: iotdb-service
restart: on-failure:3
ports:
- "6667:6667"
environment:
- cn_internal_address=iotdb-service
- cn_internal_port=10710
- cn_consensus_port=10720
- cn_seed_config_node=iotdb-service:10710
- dn_rpc_address=iotdb-service
- dn_internal_address=iotdb-service
- dn_rpc_port=6667
- dn_mpp_data_exchange_port=10740
- dn_schema_region_consensus_port=10750
- dn_data_region_consensus_port=10760
- dn_seed_config_node=iotdb-service:10710
volumes:
- ./iotdb-data:/iotdb/data
- ./iotdb-logs:/iotdb/logs
# VISSR acting as VISS Data Server
tmp:
image: busybox
container_name: vissr_container_volumes
user: root
command: >
chmod -R 777 /tmp/docker/
volumes:
- /tmp/docker/
redis:
image: redis
container_name: app_redis
privileged: true
user: root
restart: on-failure:3
command: redis-server /etc/redis.conf
volumes:
- ../cdsp/vissr/redis/redis.conf:/etc/redis.conf
volumes_from:
- tmp
vissv2server:
container_name: vissv2server
depends_on:
- redis
- iotdb-service
restart: on-failure:3
build:
context: ../cdsp/vissr # context set to repo root
dockerfile: Dockerfile.rlserver
target: vissv2server
entrypoint: [ /app/vissv2server,-s,apache-iotdb]
ports:
- "0.0.0.0:8081:8081"
- "127.0.0.1:8888:8888"
- "0.0.0.0:8887:8887"
- "0.0.0.0:8600:8600"
volumes:
- ./vissr-logs:/app/logs
volumes_from:
- tmp