For reference for other people, I am providing my complete docker-compose files:
If you are using MySQL:
version: '3.1'
services:
mysql:
container_name: mysql_server
image: mysql
restart: always
networks:
- mysql_network
environment:
MYSQL_ROOT_PASSWORD: huginn
MYSQL_DATABASE: huginn
MYSQL_USER: huginn
MYSQL_PASSWORD: huginn
adminer:
image: adminer
networks:
- mysql_network
restart: always
ports:
- 8989:8080
networks:
mysql_network:
external:
name: mysql_network
version: '3.1'
services:
postresql:
container_name: postgresql_server
image: postgres
restart: always
networks:
- postgres-network
volumes:
- ./pgdata:/var/lib/postgresql/data
- ./pgconf:/etc/postgresql
- ./pglog:/var/log/postgresql
environment:
POSTGRES_PASSWORD: huginn
POSTGRES_USER: huginn
POSTGRES_DB: huginn
adminer:
image: adminer
networks:
- postgres-network
restart: always
ports:
- 8899:8080
networks:
postgres-network:
external: true
docker-compose for huginn using postgres, for Mysql uncomment the commented part and comment the PostgreSQL lines:
version: '3'
services:
huginn:
container_name: huginn_web
networks:
- postgres-network
# external_links:
# - 'postgresql_server:postgres'
ports:
- '3333:3000'
environment:
DATABASE_USERNAME: huginn
DATABASE_NAME: huginn
DATABASE_PASSWORD: huginn
DATABASE_HOST: postgresql_server
DATABASE_ADAPTER: postgresql
RAILS_ENV: production
REQUIRE_CONFIRMED_EMAIL: 'true'
IMPORT_DEFAULT_SCENARIO_FOR_ALL_USERS: 'false'
SMTP_DELIVERY_METHOD: sendmail
SEND_EMAIL_IN_DEVELOPMENT: 'true'
EMAIL_FROM_ADDRESS: 'HealthTiiips@gmail.com'
ENABLE_INSECURE_AGENTS: 'true'
image: huginn/huginn-single-process
# version: '3.3'
# services:
# huginn_web:
# container_name: huginn_web
# links:
# - 'huginn_mysql:mysql'
# ports:
# - '3000:3000'
# networks:
# - mysql_network
# environment:
# - DATABASE_NAME=huginn
# - DATABASE_HOST= mysql_server
# - DATABASE_USERNAME=huginn
# - DATABASE_PASSWORD=somethingsecret
# image: huginn/huginn-single-process
networks:
postgres-network:
external:
name: postgres-network
Thanks.
{
"expected_receive_period_in_days": "30",
"keep_event": "false",
"rules": [
{
"type": "regex",
"value": [
"test1",
"test2"
],
"path": "$.text"
}
],
"message": "Triggered by: {sfsfsd}"
}
is there any alternative to this readability
agent ? here is the link: https://github.com/kreuzwerker/DKT.huginn_readability_agent/pulls
From the given RSS URL, I want to fetch the main content of the article, and for that, I thought to use this agent.
Friends any suggestions on this/or any alternate approach to fetching the main content of the article?
Can somebody please help me look into this? I just ran into it again. I'm not sure my database schema has been updated since January of last year.
/home/drwho/.rvm/gems/ruby-2.7.0/gems/mysql2-0.5.4/lib/mysql2/client.rb:95: [BUG
] Segmentation fault at 0x0000000000000000
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]