summaryrefslogtreecommitdiff
path: root/templates/cafe_bot-compose.yaml.j2
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2024-07-20 16:20:13 -0500
committerMark Powers <mark@marks.kitchen>2024-07-20 16:20:13 -0500
commitabe2aeceab858d6ad3a838ffe2970a0e9e2a4606 (patch)
tree83a9da03fbf01cbc0faf87f45b4ddd6e7344faf6 /templates/cafe_bot-compose.yaml.j2
Initial commitmain
Diffstat (limited to 'templates/cafe_bot-compose.yaml.j2')
-rw-r--r--templates/cafe_bot-compose.yaml.j218
1 files changed, 18 insertions, 0 deletions
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 %}