services:
  tdengine:
    container_name: ${CONTAINER_NAME}
    image: tdengine/tsdb-ee:3.3.8.4
    hostname: tdengine-server
    volumes:
      - ./data:/var/lib/taos
      - ./log:/var/log/taos
    ports:
      - ${Taosc_PORT}:6030
      - ${TD_GPT_PORT}:6035
      - ${RESTFul_WebSocket_PORT}:6041
      - ${MAPPING_PORT}:6043-6049
      - ${MAPPING_PORT}:6043-6049/udp
      - ${taosX_REST_API_PORT}:6050
      - ${taosX_gRPC_PORT}:6055
      - ${Taos_Explorer_PORT}:6060
    networks:
      - 1panel-network
    labels:
      createdBy: "Apps"

networks:
  1panel-network:
    external: true