Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 699 Bytes

README.md

File metadata and controls

27 lines (24 loc) · 699 Bytes

SIT Life QQ Bot

How to install

First, make sure you have installed the Docker.

How to build

docker build . -t cr.liplum.net/mimir/qqbot:<tag>
docker push cr.liplum.net/mimir/qqbot:<tag>

How to run

Create a docker-compose.yaml file.

services:
  bot:
    image: cr.liplum.net/mimir/qqbot:<tag>
    container_name: mimir.qqbot
    environment:
      QQBOT_SANDBOX: <true or false>
      QQBOT_APP_ID: <your qq bot app id>
      QQBOT_APP_SECRET: <your qq bot app secret>
      MIMIR_ELEC_ADMIN_TOKEN: <backend elec token>
      MIMIR_FORUM_TOKEN: <forum token>
      AMAP_WEATHER_API_TOKEN: <amap weather api token>
    restart: always