Agents Standing By: Setting Up Huginn
Intro⌗
In my last post, I went over what Huginn is used for, and how I implement it in my workflow. Today we are going to go over the initial set up of a basic Huginn container as well as an SMTP container to send our emails.
Docker setup⌗
Here’s the docker compose file I am currently using for my Huginn instance:
version: '3.5'
services:
huginn:
image: huginn/huginn
restart: always
ports:
- 4750:3000
volumes:
- $HOME/data/programs/docker/huginn/config:/var/lib/mysql
environment:
# Email Configuration
EMAIL_FROM_ADDRESS: "someemail@somedomain.com"
SMTP_USER_NAME: "none"
SMTP_PASSWORD: "none"
SMTP_SERVER: "mail"
SMTP_PORT: "25"
SMTP_AUTHENTICATION: "none"
SMTP_ENABLE_STARTTLS_AUTO: "true"
mail:
image: bytemark/smtp
restart: always
The important parts here are the config
volume mounted to the huginn container which will store our persistent data, and the SMTP
server that simply listens for and sends
emails sent by huginn.
This setup should run fine after a docker-compose up
, -d
optional. Now navigate to your huginn instance on the machine you are running it on at port 4750
.
Navigate to the Agents
tab and start looking around at some of the Default Scenario
agents. Pay attention to the layout and documentation of each agent, because in my next post
er will be doing some agent configuration.