V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
eleedzh
V2EX  ›  Docker

有没有什么比较优雅且轻量化的 web 端微信解决方案?

  •  
  •   eleedzh · 6 days ago · 526 views

    nickrunning/wechat-selkies 实在太重了 分分钟压垮 nas 而且不稳定

    还是我 compose 文件有问题?

    
    
    root@pve:/mnt/nfs/hdd2/docker-compose/sk-wechat# cat wx1/docker-compose.yml 
    version: '3.8'  # Add version at the top
    services:
      wechat-selkies:
        image: nickrunning/wechat-selkies:latest
        container_name: wechat-selkies
        ports:
          - "3000:3000"       # http port
          - "3010:3001"       # https port
        restart: unless-stopped
        volumes:
          - ./config:/config #微信厕所路径 挂载自其他虚拟机 nfs
        devices:
          - /dev/dri:/dev/dri # 核显加速
        environment:
          - PUID=1000                    # user ID
          - PGID=100                     # group ID
          - TZ=Asia/Shanghai             # timezone
          - LC_ALL=zh_CN.UTF-8           # locale
          - AUTO_START_WECHAT=true       # default is true
          - AUTO_START_QQ=false          # default is false
          - CUSTOM_USER=wx1              # recommended to set a custom user name
          - PASSWORD=*******            # recommended to set a password for selkies web ui
    	  
    	  
    
    eleedzh
        1
    eleedzh  
    OP
       1 day ago
    最后把这玩意装到软路由的 docker 里了 祝我好运

    root@iStoreOS:/mnt/nfs/wechatdir/wx1# cat docker-compose.yml
    services:
    wechat-selkies:
    image: nickrunning/wechat-selkies:latest # or ghcr.io/nickrunning/wechat-selkies:latest
    container_name: wx1
    ports:
    - "3001:3000"
    - "3011:3001"
    restart: unless-stopped
    volumes:
    - ./config:/config
    devices:
    - /dev/dri:/dev/dri
    environment:
    - TITLE=wx1
    - PUID=0
    - PGID=0
    - TZ=Asia/Shanghai
    - LC_ALL=zh_CN.UTF-8
    - AUTO_START_WECHAT=true
    - AUTO_START_QQ=false
    - CUSTOM_USER=wx1
    - PASSWORD=¥ pswd
    shm_size: "${SHM_SIZE:-1gb}"
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3335 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 59ms · UTC 12:33 · PVG 20:33 · LAX 05:33 · JFK 08:33
    ♥ Do have faith in what you're doing.