# Sample docker-compose for standalone agent-wechat deployment. # Generate a token before starting: # mkdir -p ~/.config/agent-wechat # openssl rand -hex 32 > ~/.config/agent-wechat/token # chmod 600 ~/.config/agent-wechat/token services: agent-wechat: image: ghcr.io/longxboy/agent-wechat:latest container_name: agent-wechat security_opt: - seccomp=unconfined cap_add: - SYS_PTRACE - NET_ADMIN ports: - "6174:6174" volumes: - agent-wechat-data:/data - agent-wechat-home:/home/wechat - ~/.config/agent-wechat/token:/data/auth-token:ro environment: - PROXY=${PROXY:-} restart: unless-stopped volumes: agent-wechat-data: agent-wechat-home: