summaryrefslogtreecommitdiff
path: root/templates/cafe_bot-compose.yaml.j2
blob: 6cc19874a46e193c6df1f3b4f563d1f4d71152e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
services:
    matrix-bot:
        build: cafe_bot.git
        container_name: cafe_bot
        volumes:
          - ./data/cafe_bot/res/:/res
          - ./data/cafe_bot/data/:/data
          - ./data/botamusique/music/out:/out
        environment:
{% for key, value in cafe_bot_env.items() %}
          - {{ key }}={{ value }}
{% endfor %}

        restart: always
        labels:
{% with router_name="bot", host_prefix="bot", container_port="8080" %}
{% include "util/traefik_labels.txt.j2" %}
{% endwith %}