First, make sure you have installed the Docker.
docker build . -t cr.liplum.net/mimir/qqbot:<tag>
docker push cr.liplum.net/mimir/qqbot:<tag>
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