以Centos系统为例

宝塔Docker管理器直接安装
或者一键安装

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# 启动并设置开机自启docker
systemctl enable --now docker

随后安装docker-compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# 如果/usr/local/bin不在PATH里
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

随后安装Huginn

docker run -it -p 3000:3000 huginn/huginn

配置开机自启

docker update --restart=always huginn

最后可直接宝塔反代一下

使用默认的用户名:admin ,默认密码:password 登陆,即可使用

Last modification:August 18, 2022
If you think my article is useful to you, please feel free to appreciate