Skip to content

An installation that uses Nix or Docker to deploy LLOneBot.

Notifications You must be signed in to change notification settings

LLOneBot/llonebot.nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

参考

chronocat.nix 若有侵权,请联系我删除

使用方法

docker

# VNC 端口 7081
# OneBot HTTP 端口 3000
docker run -p 3000:3000 -p 7081:7081 --privileged initialencounter/llonebot:latest

快速体验

# 使用nix run
nix run github:LLOneBot/llonebot.nix

Nix

# flake.nix
{
  inputs = {
    llonebot.url = "github:LLOneBot/llonebot.nix";
  };

  outputs = { self, llonebot, ... }: {
    packages.default = llonebot.lib.buildLLOneBot ./configuration.nix;
  };
}
# configuration.nix
{ config, lib, pkgs, ... }:

{
  programs.llonebot = {
    port = 8080;                            # 设置 VNC 端口
    vncpasswd = "your-secure-password";     # 设置 VNC 密码
  };
}

登录

终端扫码

# 使用终端扫码登录
docker logs llonebot

VNC

使用 VNC客户端连接 localhost:7081 或者 docker 宿主机 ip:7081 登录,注意:不是用浏览器打开localhost:7081

默认密码是 vncpassword

About

An installation that uses Nix or Docker to deploy LLOneBot.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published