50% off 所有套餐限时优惠,起价 $2.48/mo
Huginn

Huginn

Huginn 让你搭建个人自动化代理。作为 IFTTT 的替代方案,它可监控 Web 数据源(RSS、Twitter、天气、价格),并在你的服务器上执行自定义工作流。基于 Ruby on Rails 构建,MIT 许可证,是 n8n 出现之前最早的自托管自动化平台。

Version

Latest

Operating System

Ubuntu Server 24.04 LTS

Min. RAM

2 GB

IP Types

IPV4

Access Huginn

打开浏览器,访问: https://<SERVER_IP>

接受自签名 SSL 证书警告。

默认管理员凭据:

  • Username: admin
  • Password: password (change immediately)

重要文件与路径

  • Huginn install: /root/huginn
  • Docker Compose: /root/huginn/docker-compose.yml
  • Env variables: /root/huginn/.env
  • SSL certificates: /etc/nginx/ssl
  • Nginx config: /etc/nginx/sites-available/huginn

Common Commands

Check logs:

docker logs huginn -f
docker logs huginn_mysql -f

Restart containers:

cd /root/huginn
docker compose restart huginn
docker compose restart huginn_mysql
docker compose restart # restart all

查看正在运行的容器:

docker ps

Nginx management:

systemctl restart nginx
systemctl status nginx

通过域名启用 SSL

1. 将你的域名指向服务器 IP。

2. 编辑 Nginx 配置,替换以下两处 server_name <IP>; 使用您的域名(<your-domain>) 适用于 HTTP(端口 80)和 HTTPS(端口 443)的规则块:

vim /etc/nginx/sites-available/huginn

3. Install Certbot:

apt install -y certbot python3-certbot-nginx

4. 运行以下命令,生成有效的 Let's Encrypt 证书:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

5. 在 Nginx 配置中替换 SSL 路径:

vim /etc/nginx/sites-available/huginn
# Before:
    # ssl_certificate /etc/nginx/ssl/fullchain.pem;
    # ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
    # ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    # ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;

6. 重启 Nginx 以应用更改:

systemctl restart nginx

7. 打开浏览器,访问: https://yourdomain.com

More in Automation

Related apps.

立即部署 Huginn。 From $2.48/mo.