forked from apache/hertzbeat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
52 lines (48 loc) · 1.08 KB
/
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
51
52
version: "3.7"
networks:
heartzbeat:
driver: bridge
services:
mysql:
image: "mysql:5.7"
container_name: mysql
hostname: mysql
restart: always
ports:
- "3306:3306"
environment:
TZ: Asia/Shanghai
MYSQL_ROOT_PASSWORD: 123456
volumes:
- ./dbdata/mysqldata:/var/lib/mysql/
- ./conf/sql:/docker-entrypoint-initdb.d/
networks:
- heartzbeat
TDengine:
image: "tdengine/tdengine:2.4.0.12"
container_name: tdengine
hostname: tdengine
restart: always
environment:
TZ: Asia/Shanghai
ports:
- "6030-6049:6030-6049"
- "6030-6049:6030-6049/udp"
volumes:
- ./dbdata/taosdata:/var/lib/taos/
networks:
- heartzbeat
hertzbeat:
image: "tancloud/hertzbeat"
container_name: hertzbeat
hostname: hertzbeat
restart: always
environment:
TZ: Asia/Shanghai
volumes:
- ./conf/application.yml:/opt/hertzbeat/config/application.yml
- ./conf/sureness.yml:/opt/hertzbeat/config/sureness.yml
ports:
- "1157:1157"
networks:
- heartzbeat