diff options
| author | Jan T <jan@jantuomi.fi> | 2025-08-26 11:24:50 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 11:24:50 +0000 |
| commit | c7598aa23c5cfbacbb167862032694c136fd598f (patch) | |
| tree | f089c6881a65c6e53992bcd4f546c11d2c691cb2 /veetibot.container | |
| parent | 548f34f599d0742998c71e215afb28258ee31c27 (diff) | |
| parent | 038b3ae298aefa179cdcb21c881fa5350cf92cb7 (diff) | |
Merge pull request #2 from onnilampi/main
Containerize application and manage it with systemd
Diffstat (limited to 'veetibot.container')
| -rw-r--r-- | veetibot.container | 16 |
1 files changed, 16 insertions, 0 deletions
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 |
