fix: Jenkins修复3-iot-server时序库缺失
This commit is contained in:
@@ -155,6 +155,12 @@ services:
|
||||
SPRING_DATA_REDIS_PASSWORD: "9kHXcZ1ojFsD"
|
||||
|
||||
ROCKETMQ_NAME_SERVER: 172.17.16.14:9876
|
||||
|
||||
# TDengine
|
||||
TDENGINE_HOST: 172.17.16.14
|
||||
TDENGINE_PORT: 6041
|
||||
TDENGINE_USERNAME: root
|
||||
TDENGINE_PASSWORD: taosdata
|
||||
|
||||
volumes:
|
||||
- app-logs:/app/logs
|
||||
@@ -172,6 +178,8 @@ services:
|
||||
depends_on:
|
||||
viewsh-module-infra-server:
|
||||
condition: service_healthy
|
||||
tdengine:
|
||||
condition: service_healthy
|
||||
|
||||
viewsh-module-iot-gateway:
|
||||
image: ${REGISTRY_HOST:-localhost:5000}/viewsh-module-iot-gateway:${IMAGE_TAG:-latest}
|
||||
@@ -210,3 +218,22 @@ services:
|
||||
depends_on:
|
||||
viewsh-module-iot-server:
|
||||
condition: service_healthy
|
||||
|
||||
tdengine:
|
||||
image: tdengine/tdengine:3.0.1.4
|
||||
container_name: aiot-tdengine
|
||||
restart: always
|
||||
network_mode: host
|
||||
environment:
|
||||
TZ: Asia/Shanghai
|
||||
TAOS_FIRST_EP: "172.17.16.14:6030"
|
||||
TAOS_FQDN: "172.17.16.14"
|
||||
volumes:
|
||||
- ./tdengine/data:/var/lib/taos
|
||||
- ./tdengine/log:/var/log/taos
|
||||
healthcheck:
|
||||
test: ["CMD", "taos", "-s", "show dnodes"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
start_period: 30s
|
||||
|
||||
Reference in New Issue
Block a user