services: adh-nginx: image: registry.cn-hangzhou.aliyuncs.com/awesome-digital-human/nginx:latest ports: - "8880:80" # - "8443:443" volumes: - ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf:ro restart: always networks: - shared_network - default adh-web: build: context: . dockerfile: docker/adhWeb.Dockerfile image: "adh-web:v3.0.0" restart: always networks: - shared_network - default # ports: # - "3000:3000" volumes: - ./web/.env:/workspace/.env - ./web:/workspace/web environment: - HOSTNAME=0.0.0.0 # awesome digital human server adh-api: build: context: . dockerfile: docker/adhServer.Dockerfile image: "adh-server:v3.0.0" restart: always networks: - shared_network - default # ports: # - "8000:8000" volumes: - ./configs:/workspace/configs - ./digitalHuman:/workspace/digitalHuman - uniface_models:/root/.uniface/models # 持久化 UniFace 模型文件 environment: - DASHSCOPE_API_KEY=${DASHSCOPE_API_KEY} adh-funasr: image: "registry.cn-hangzhou.aliyuncs.com/funasr_repo/funasr:funasr-runtime-sdk-online-cpu-0.1.12" ports: - "10095:10095" volumes: - ./docker/volumes/funasr-runtime-resources/models:/workspace/models - ./docker/volumes/funasr-runtime-resources/sh/run_server_2pass.sh:/workspace/FunASR/runtime/run_server_2pass.sh - ./docker/volumes/funasr-runtime-resources/sh/hotwords.txt:/workspace/FunASR/runtime/websocket/hotwords.txt restart: always networks: - shared_network - default command: "bash /workspace/FunASR/runtime/run_server_2pass.sh" # network networks: shared_network: driver: bridge internal: true # volumes volumes: uniface_models: driver: local