From 30efac2becd6dcc6854bb1e896b9ab579b42c3cc Mon Sep 17 00:00:00 2001 From: Onni Lampi Date: Sat, 16 Aug 2025 12:33:46 +0300 Subject: Containerize the application The containers are orchestrated with systemd. --- veetibot.container | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 veetibot.container (limited to 'veetibot.container') diff --git a/veetibot.container b/veetibot.container new file mode 100644 index 0000000..c9307c3 --- /dev/null +++ b/veetibot.container @@ -0,0 +1,16 @@ +[Unit] +Description=veetibot + +[Service] +Restart=always +RuntimeMaxSec=1d + +[Container] +Image=veetibot.build +Exec=npm start +Volume=/home/slack-veetibot/veetibot/.env:/veetibot/.env:ro +Volume=/home/slack-veetibot/veetibot/IG_CREDS:/veetibot/IG_CREDS:ro +Volume=/home/slack-veetibot/.config/chromium:/home/veetibot/.config/chromium:ro,U + +[Install] +WantedBy=default.target -- cgit v1.3