feat(leantime): add Leantime task management

This commit is contained in:
redbeardymcgee 2025-04-13 09:04:36 -05:00
parent 8e2fce82bb
commit a067a6c857
4 changed files with 62 additions and 0 deletions

View file

@ -188,6 +188,7 @@ that I intend to add to this repository. It is still growing, and I welcome
- [x] [Kibitzr](https://kibitzr.github.io/)
- [x] [Komga](https://komga.org/)
- [x] [LazyLibrarian](https://lazylibrarian.gitlab.io/)
- [x] [Leantime](https://leantime.io)
- [x] [LibreNMS](https://librenms.org)
- [x] [librespeed](https://librespeed.org)
- [x] [Linkwarden](https://linkwarden.app/)

View file

@ -0,0 +1,23 @@
[Unit]
Description=Leantime MySQL
[Service]
Restart=on-failure
TimeoutStartSec=900
[Install]
WantedBy=default.target
[Container]
Image=mysql:8.4
ContainerName=leantime-mysql
AutoUpdate=registry
Network=leantime.network
HostName=leantime-mysql
Volume=leantime-mysql:/var/lib/mysql
EnvironmentFile=leantime.env
Exec=--character-set-server=UTF8MB4 --collation-server=UTF8MB4_unicode_ci

View file

@ -0,0 +1,32 @@
[Unit]
Description=Leantime task management
Requires=leantime-mysql.service
After=leantime-mysql.service
[Service]
Restart=on-failure
TimeoutStartSec=900
[Install]
WantedBy=default.target
[Container]
Image=leantime/leantime:latest
ContainerName=leantime
AutoUpdate=registry
AddCapability=CAP_NET_BIND_SERVICE
AddCapability=CAP_CHOWN
AddCapability=CAP_SETGID
AddCapability=CAP_SETUID
Network=leantime.network
HostName=leantime
PublishPort=8080:80
Volume=leantime-public_userfiles:/var/www/html/public/userfiles
Volume=leantime-userfiles:/var/www/html/userfiles
Volume=leantime-plugins:/var/www/html/app/Plugins
Volume=leantime-logs:/var/www/html/storage/logs
EnvironmentFile=leantime.env

View file

@ -0,0 +1,6 @@
[Volume]
VolumeName=leantime-public-userfiles
VolumeName=leantime-userfiles
VolumeName=leantime-plugins
VolumeName=leantime-logs
VolumeName=leantime-mysql