diff options
Diffstat (limited to 'templates/cafe_bot-compose.yaml.j2')
-rw-r--r-- | templates/cafe_bot-compose.yaml.j2 | 18 |
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 %} |