version: '3.4' services: vits: image: artrajz/vits-simple-api:latest-gpu restart: always ports: - 23456:23456 environment: LANG: 'C.UTF-8' TZ: Asia/Shanghai #timezone volumes: - ./Model:/app/Model # 挂载模型文件夹 - ./config.py:/app/config.py # 挂载配置文件 - ./logs:/app/logs # logging logs - ./gunicorn_config.py:/app/gunicorn_config.py # gunicorn configuration - ./bert_vits2/bert/chinese-roberta-wwm-ext-large:/app/bert_vits2/bert/chinese-roberta-wwm-ext-large