Sign inSign up

icmdb/iwebhook-csr

By icmdb

•Updated about 7 years ago

Image
0

1.6K

icmdb/iwebhook-csr repository overview

A simple webhook server for alicloud container image service, used to send message to Slack Incoming robot.

⁠Quick Start

⁠Create docker-compose.yml
version: "3"
services:
  iwebhook-csr:
    build:
      context: ./
      dockerfile: ./Dockerfile
    container_name: iwebhook-csr
    hostname: iwebhook-csr
    image: icmdb/iwebhook-csr
    environment:
      - APP_ADDR=0.0.0.0
      - APP_PORT=8080
      - APP_DEBUG=True
    ports:
      - 8080:8080
    restart: always
⁠Start
# Start iwebhook-csr
docker-compose up -d

# Setting webhook csr webhook
http://your-webhook-server-addr/ali/csr/webhook?slackin=base64-encoded-str-of-your-slack-incoming-url&channer=your-target-channel

Tag summary

Content type

Image

Digest

Size

40.5 MB

Last updated

about 7 years ago

docker pull icmdb/iwebhook-csr