WireDB is a NoSQL database based on Log-structured file system.
356
使用容器管理工具可以快速部署 wiredb:v1.0.0 镜像来测试 WireDB 提供的服务。只需运行以下命令,即可拉取 WireDB 镜像并启动一个容器运行 WireDB 服务:
docker pull auula/wiredb:v1.0.0
运行 WireDB 镜像启动容器服务并且映射端口到外部主机网络,如何下面命令:
docker run -p 2668:2668 wiredb:v1.0.0
⚠️ 注意通过 RESTful API 协议操作数据时请在 HTTP 请求头中添加 Auth-Token: xxxx 访问密码,默认访问密码为 WireDB 进程自动生成,需要通过容器运行输出的日志信息查看,命令如下:
root@2c2m:~# docker logs 46ae91bc73a6
_ ____
_ __(_)______ ___/ / /
| |/|/ / / __/ -_) _ / _ \
|__,__/_/_/ \__/\_,_/_.__/ v1.0.0
WireDB is a NoSQL database based on Log-structured file system.
Software License: Apache 2.0 Website: https://wiredb.github.io
[WIREDB:C] 2025/02/27 10:07:01 [WARN] The default password is: T9EHAvi5dcIpPK9G#ADlVj4NB 👈
[WIREDB:C] 2025/02/27 10:07:01 [INFO] Logging output initialized successfully
[WIREDB:C] 2025/02/27 10:07:01 [INFO] Loading and parsing region data files...
[WIREDB:C] 2025/02/27 10:07:01 [INFO] Region compression activated successfully
[WIREDB:C] 2025/02/27 10:07:01 [INFO] File system setup completed successfully
[WIREDB:C] 2025/02/27 10:07:01 [INFO] HTTP server started at http://172.17.0.2:2668 🚀
Content type
Image
Digest
sha256:acd2ff097…
Size
10.5 MB
Last updated
over 1 year ago
docker pull auula/wiredb