Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose容器启动报错退出 #15

Open
Clov614 opened this issue Jan 11, 2025 · 1 comment
Open

docker-compose容器启动报错退出 #15

Clov614 opened this issue Jan 11, 2025 · 1 comment

Comments

@Clov614
Copy link

Clov614 commented Jan 11, 2025

image

docker-compose如下:

version: '3.5'

services:
  desktop:
    image: dannicool/wechatbot-provider-windows:wc-3935
    container_name: DESKTOP
    ports:
      - "13389:3389"
      - "10086:10086"  # RPC 推消息端口
      - "10087:10087"  # RPC 收消息端口
    ulimits:
      nofile:
        soft: 8192
        hard: 8192
    volumes:
      - ./wechat/program:/root/.wine/drive_c/Program Files/Tencent/WeChat  # 程序文件挂载
      - ./wechat/user_dat:/root/.wine/drive_c/users/root/AppData/Roaming/Tencent/WeChat  # 用户数据挂载
    restart: unless-stopped # 可选,根据需要配置重启策略
@jiyi
Copy link

jiyi commented Jan 21, 2025

添加stdin_open: truetty: true

services:
  wechatbot:
    image: dannicool/wechatbot-provider-windows:wc-3935
    container_name: wechatbot
    ports:
      - "13389:3389"
      - "10086:10086" 
      - "10087:10087" 
    ulimits:
      nofile:
        soft: 8192
        hard: 8192
    stdin_open: true
    tty: true
    volumes:
      - ./user_dat:/root/.wine/drive_c/users/root/AppData/Roaming/Tencent/WeChat

@danni-cool danni-cool changed the title docker容器启动报错退出 docker-compose容器启动报错退出 Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants