services: wechat-selkies: image: nickrunning/wechat-selkies:latest # or ghcr.io/nickrunning/wechat-selkies:latest container_name: wechat-selkies ports: - "3000:3000" # http port - "3001:3001" # https port restart: unless-stopped volumes: - ./config:/config devices: - /dev/dri:/dev/dri # optional, for hardware acceleration environment: - PUID=1000 # user ID, set according to your system - PGID=100 # group ID, set according to your system - TZ=Asia/Shanghai # timezone, set according to your timezone - LC_ALL=zh_CN.UTF-8 # locale, set according to your needs - AUTO_START_WECHAT=true # default is true - AUTO_START_QQ=false # default is false # - CUSTOM_USER=<Your Name> # recommended toset a custom user name # - PASSWORD=<Your Password> # recommended toset a password for selkies web ui shm_size: "1gb" # recommended, will improve performance
docker compose up -d 成功后在https://ip:3001 访问,忽略警告。这里强制使用https。 此时在手机微信上提示“桌面微信已登录”。