An Implementation of NTQQ Protocol, with Pure C#, Derived from Konata.Core
> English < | 简体中文
# 8081 port for ForwardWebSocket and Http-Post
# /path-to-data is used to store the files needed for the runtime
# UID Env and GID Env are used to set file permissions
docker run -td -p 8081:8081 -v /path-to-data:/app/data -e UID=$UID -e GID=$(id -g) ghcr.io/lagrangedev/lagrange.onebot:edge
Important
-
During the first run, you may be prompted with Please Edit the appsettings.json to set configs and press any key to continue. Please choose one of the following solutions to proceed:
-
- Modify
/path-to-data/appsettings.json
- Restart the container using
docker restart
- Modify
-
- Ensure that the
-t
option is used when executingdocker run
- Modify
/path-to-data/appsettings.json
- Enter the container using
docker attach
- Press any key
- Exit the container using
Ctrl + P
Ctrl + Q
- Ensure that the
-
-
If the host needs to access the Implementation (e.g.,
Http
,ForwardWebSocket
), please configure the Host of Implementation as*
-
If the implementation needs to access the host network (e.g.,
HttpPost
,ReverseWebSocket
), please configure theHost
of implementation to behost.docker.internal
.
Move appsettings.json
, device.json
, keystore.json
, lagrange-*.db
to the same folder where you want to put them.
For example /path-to-data
Delete the ConfigPath
configuration entry in /path-to-data/appsettings.json
Start the container according to Getting Started