From fb19a9e036256783f54511a6284971f856a57e86 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sat, 26 Aug 2023 23:37:02 +0200 Subject: [PATCH] it's karin time --- new/playbooks/vps2.yml | 12 ++++++++++-- new/vps2/docker-compose.yml | 8 ++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/new/playbooks/vps2.yml b/new/playbooks/vps2.yml index f49d557..a3877ea 100644 --- a/new/playbooks/vps2.yml +++ b/new/playbooks/vps2.yml @@ -31,7 +31,7 @@ ##### - name: Create /apps/widetom ansible.builtin.file: - path: /apps/registry + path: /apps/widetom state: directory mode: u=rwx,g=rx,o=rx ##### @@ -39,7 +39,15 @@ ##### - name: Create /apps/killua ansible.builtin.file: - path: /apps/registry + path: /apps/killua + state: directory + mode: u=rwx,g=rx,o=rx + ##### + # APP: karin bot, /apps/karin-bot + ##### + - name: Create /apps/karin-bot + ansible.builtin.file: + path: /apps/karin-bot state: directory mode: u=rwx,g=rx,o=rx ##### diff --git a/new/vps2/docker-compose.yml b/new/vps2/docker-compose.yml index fa92531..6ad25a6 100644 --- a/new/vps2/docker-compose.yml +++ b/new/vps2/docker-compose.yml @@ -66,5 +66,13 @@ services: limits: cpus: "0.5" memory: 500M + karin_bot: + container_name: karin-bot + image: "docker.nilstrieb.dev/discord-court-bot:921be642" + restart: always + env_file: + - "/apps/karin-bot/.env" + networks: + - internal networks: internal: