services: huginn_postgres: image: postgres:9.5 restart: always environment: {% for key, value in huginn_env.items() %} - {{ key }}={{ value }} {% endfor %} volumes: - ./data/huginn-db:/var/lib/postgresql/data huginn_web: image: ghcr.io/huginn/huginn-single-process restart: always environment: {% for key, value in huginn_env.items() %} - {{ key }}={{ value }} {% endfor %} depends_on: - huginn_postgres labels: {% with router_name="huginn", host_prefix="huginn", container_port="3000" %} {% include "util/traefik_labels.txt.j2" %} {% endwith %} huginn_threaded: image: ghcr.io/huginn/huginn-single-process command: /scripts/init bin/threaded.rb restart: always environment: {% for key, value in huginn_env.items() %} - {{ key }}={{ value }} {% endfor %} depends_on: - huginn_postgres - huginn_web