From abe2aeceab858d6ad3a838ffe2970a0e9e2a4606 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sat, 20 Jul 2024 16:20:13 -0500 Subject: Initial commit --- templates/cafe_bot-compose.yaml.j2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/cafe_bot-compose.yaml.j2 (limited to 'templates/cafe_bot-compose.yaml.j2') diff --git a/templates/cafe_bot-compose.yaml.j2 b/templates/cafe_bot-compose.yaml.j2 new file mode 100644 index 0000000..6cc1987 --- /dev/null +++ b/templates/cafe_bot-compose.yaml.j2 @@ -0,0 +1,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 %} -- cgit v1.2.3