Giter Site home page Giter Site logo

an-another-yunzai-docker's Introduction

自用的某机器人的docker镜像(需要py的用Dockerfile_poetry

个人原因不想用那个脚本

参考喵和SirlyDreamer/Yunzai-Bot-Docker

适配器配置文件问题建议自行解决

请直接用原脚本。

建议不要用我这个,反正没人看

除非和我一样试了确实用不了他脚本(

docker-compose.yaml部分参考(自行下载/修改映射需要的部分,例如[genshin]、miao-plugin、[默认的js插件]或其他插件/适配器~~(虽然前面这几个默认会带/下载~~

version: "3"
services:
  trss-yunzai:
    container_name: TRSS-Yunzai
    # build: .
    image: registry.cn-hangzhou.aliyuncs.com/zipated/trss-yunzai:latest
    # image: registry.cn-hangzhou.aliyuncs.com/zipated/trss-yunzai:poetry
    # image: registry.cn-hangzhou.aliyuncs.com/zipated/trss-yunzai:poetry_bookworm
    restart: always
    #ports:
      # - "50831:50831"                                   # 映射锅巴插件端口,格式"主机端口:容器内部端口"
    volumes:
      - ./Yunzai/data:/app/Yunzai-Bot/data                                                # 用户数据
      - ./Yunzai/config:/app/Yunzai-Bot/config/config                                     # 配置文件
      - ./Yunzai/plugins/genshin:/app/Yunzai-Bot/plugins/genshin                          # 原神核心文件
      - ./Yunzai/resources:/app/Yunzai-Bot/resources                                      # 额外资源文件
      - ./Yunzai/plugins/example:/app/Yunzai-Bot/plugins/example                          # js插件
      # - ./Yunzai/plugins/TRSS-Plugin:/app/Yunzai-Bot/plugins/TRSS-Plugin                  # TRSS插件
      - ./Yunzai/plugins/miao-plugin:/app/Yunzai-Bot/plugins/miao-plugin                  # 喵喵插件
      # - ./Yunzai/plugins/Yunzai-ICQQ-Plugin:/app/Yunzai-Bot/plugins/ICQQ-Plugin    # TRSS适配器 ↓
      # - ./Yunzai/plugins/Yunzai-QQBot-Plugin:/app/Yunzai-Bot/plugins/QQBot-Plugin
      # - ./Yunzai/plugins/Yunzai-QQGuild-Plugin:/app/Yunzai-Bot/plugins/QQGuild-Plugin
      # - ./Yunzai/plugins/Yunzai-WeChat-Plugin:/app/Yunzai-Bot/plugins/WeChat-Plugin
      # - ./Yunzai/plugins/Yunzai-mysVilla-Plugin:/app/Yunzai-Bot/plugins/mysVilla-Plugin
      # - ./Yunzai/plugins/Yunzai-KOOK-Plugin:/app/Yunzai-Bot/plugins/KOOK-Plugin
      # - ./Yunzai/plugins/Yunzai-Telegram-Plugin:/app/Yunzai-Bot/plugins/Telegram-Plugin
      # - ./Yunzai/plugins/Yunzai-Discord-Plugin:/app/Yunzai-Bot/plugins/Discord-Plugin
      # - ./Yunzai/plugins/Yunzai-Route-Plugin:/app/Yunzai-Bot/plugins/Route-Plugin  # TRSS适配器 ↑
      # - ./Yunzai/plugins/xiaoyao-cvs-plugin:/app/Yunzai-Bot/plugins/xiaoyao-cvs-plugin    # cvs图鉴插件
      # - ./Yunzai/plugins/Guoba-Plugin:/app/Yunzai-Bot/plugins/Guoba-Plugin                # 锅巴插件
      # - ./Yunzai/plugins/expand-plugin:/app/Yunzai-Bot/plugins/expand-plugin              # 拓展插件
      # - ./Yunzai/plugins/flower-plugin:/app/Yunzai-Bot/plugins/flower-plugin              # 抽卡插件
      # - ./Yunzai/plugins/StarRail-plugin:/app/Yunzai-Bot/plugins/StarRail-plugin          # 星铁插件
      # - ./Yunzai/plugins/py-plugin:/app/Yunzai-Bot/plugins/py-plugin                      # py-plugin
    depends_on:
      redis: { condition: service_healthy }
    deploy:
      resources:
        limits:
          memory: 2G

  redis:
    container_name: Yunzai-redis
    image: redis:alpine
    restart: always
    volumes:
      # 前往 https://download.redis.io/redis-stable/redis.conf 下载配置文件,放入 ./redis/config 文件夹中
      # - ./redis/config:/etc/redis/    # Redis配置文件
      - ./redis/data:/data
      - ./redis/logs:/logs
    # command: /etc/redis/redis.conf    # 取消注释以应用Redis配置文件
    healthcheck:
      test: [ "CMD", "redis-cli", "PING" ]
      start_period: 10s
      interval: 5s
      timeout: 1s

an-another-yunzai-docker's People

Contributors

zipated avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.