ali sdm docker

当然要先安装docker和docker-compose

cd /usr/local

mkdir sdm

cd sdm

touch docker-compose.yml,编辑内容如下:

version: "3"
services:
  sdm:
    image: registry.cn-shanghai.aliyuncs.com/nls-cloud/sdm:latest
    container_name: nls-cloud-sdm
    restart: always
    network_mode: host
    privileged: true
    volumes:
      #- ./disk:/home/admin/disk
      - ./logs:/home/admin/logs 
    environment:
      TZ: Asia/Shanghai

docker-compose up

先跑起来

把容器里面的/home/admin/disk cp 出来,到当前目录下的 ./disk目录

按sdm手册修改appkey等

修改docker-compose.yml文件,把 ./disk:/home/admin/disk这一行放开 (先保证内容是ok的)

重启:

docker-compose down

docker-compose up -d 

sdm sip端口是7010, mrcpv2端口是1544。fs配sdm sip端口就行

全文完

你可能感兴趣的:(FreeSWITCH,asr)