blob: 9f66b64be397085827f7e054c041e18366297ff5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
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
|