Sign inSign up

kaiheila/krust

By kaiheila

Updated almost 5 years ago

Image
0

456

kaiheila/krust repository overview

Websocket 转 Webhook 模式

docker-compose 配置文件:

version: '3.9'
services:
  krust:
    image: kaiheila/krust:latest
    pull_policy: always
    network_mode: 'host'
    extra_hosts:
      - 'host.docker.internal:host-gateway'
    environment:
      - LOG=INFO
      - TOKEN=<YOUR_TOKEN>
      - WEBHOOK=<YOUR_WEBHOOK_ADDRESS>

注意:本机webhook地址不应该为localhost,应该为host.docker.internal。参考如何从docker容器内连接宿主机

Tag summary

Content type

Image

Digest

Size

45 MB

Last updated

almost 5 years ago

docker pull kaiheila/krust