podbox/quadlets/leantime/leantime.container
2025-04-13 09:04:36 -05:00

32 lines
694 B
Text

[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