leantime
by maarlo
Project management for the non-project manager
About this chart
Leantime Helm Chart
Leantime, project management for the non-project manager. For more information, check the project site at https://leantime.io/
Helm Chart
Installation:
helm install leantime oci://ghcr.io/maarlo/helm-charts/leantime
See options below to customize the deployment.
* Note: Auto-generated passwords are overwritten every time the template is rendered but the database only creates credentials on the first run. When upgrading, use "--set" to provide the current passwords otherwise they will not match and application will fail.
Main application
| Option | Description | Format | Default |
|---|---|---|---|
| leantime.name | Site name | Text | Leantime |
| leantime.language | Site language | [2-digit language]-[2-digit country] | en-US |
| leantime.primaryColor | Main color | #6-digit RGB hex | #006d9f |
| leantime.secondaryColor | Secondary color | #6-digit RGB hex | #00a886 |
| leantime.defaultTheme | Default site theme | Text | Empty. Uses the application default (default) |
| leantime.keepTheme | Keep theme and language from previous user for login screen | true / false | true |
| leantime.logo | Site logo image path | File path | Logo at /images/logo.svg |
| leantime.printLogo | Site logo image path for printing, must be jpg or png | File path | /images/logo.jpg |
| leantime.defaultTimezone | Default Timezone | Text list | Empty. Uses the application default (America/Los_Angeles) |
| leantime.url | Base URL | Full URL (protocol://host.domain.tld) | Empty. If using Ingress or IngressRoute, URL is generated automatically |
| leantime.sessionExpiration | Session expiration | Number of seconds | 28800 (8hrs) |
| leantime.sessionSalt | Session salt | Text | Randomly generated |
| leantime.disableLoginForm | If true then don't show the login form | true / false | false |
| leantime.projectMenu | Allow per-project menu | true / false | false |
| leantime.debug | Enable debug | 0 (Disabled) or 1 (Enabled) | 0 (Disabled) |
| leantime.existingSecret | Use existing secret for session salt. Key is 'session-salt' | Secret name | Not defined |
Application Features
| Option | Description | Format | Default |
|---|---|---|---|
| leantime.mysql.host | MySQL host | Text | {{ .Release.Name }}-mariadb |
| leantime.mysql.port | MySQL port | Number | 3306 |
| leantime.mysql.database | MySQL database name | Text | leantime |
| leantime.mysql.user | MySQL user | Text | Empty |
| leantime.mysql.password | MySQL password | Text | Empty |
| leantime.mysql.existingSecret | Use existing secret for database credentials. Keys are 'database-user' and 'database-password' | Secret name | Not defined |
| leantime.redis.enabled | Enable Redis support | true / false | false |
| leantime.redis.url | Redis URL, if empty the fields below will be used | tcp://hostname:port | Empty |
| leantime.redis.scheme | Redis connection scheme | tcp, tls | tcp |
| leantime.redis.host | Redis Host (required if URL is not used) | Hostname | {{ .Release.Name }}-valkey |
| leantime.redis.port | Redis Port | Number | 6379 |
| leantime.redis.password | Redis Password if used, existingSecret has preference | Text | Empty |
| leantime.redis.existingSecret | Use existing secret for Redis password, key 'redis-password' | Secret name | Not defined |
| leantime.s3.enabled | Enable S3 File storage | true / false | false |
| leantime.s3.endpoint | Custom https endpoint | Empty or https url | Empty |
| leantime.s3.usePathStyleEndpoint | Switch between path or subdomain style endpoint url | true / false | false |
| leantime.s3.key | S3 Key (required) | Text | Empty |
| leantime.s3.secret | S3 Secret (required) | Text | Empty |
| leantime.s3.bucket | S3 Bucket (required) | Text | Empty |
| leantime.s3.region | S3 Region (required) | Text | Empty |
| leantime.s3.folder | Use sub-folder | Path | Empty |
| leantime.s3.existingSecret | Use existing secret for S3 key and secret. Keys are 's3-key' and 's3-secret' | Secret name | Not defined |
| leantime.smtp.enabled | Enable SMTP support | true / false | false |
| leantime.smtp.from | E-mail sender address (required). Can either be in the format "[email protected]" or "Leantime [email protected]" | Empty | |
| leantime.smtp.host | SMTP server (required) | hostname | Empty |
| leantime.smtp.auth | SMTP requires authentication? | true / false | true |
| leantime.smtp.username | SMTP username (required) unless existing secret is used or auth is disabled | Text | Empty |
| leantime.smtp.password | SMTP password (required) unless existing secret is used or auth is disabled | Text | Empty |
| leantime.smtp.existingSecret | Use existing secret for SMTP username and password. Keys are 'smtp-username' and 'smtp-password' | Secret name | Not defined |
| leantime.smtp.port | Use non-standard SMTP port | Number | Default SMTP ports |
| leantime.smtp.secureProtocol | Force specific security protocol | tls, ssl or starttls | Auto-detect |
| leantime.smtp.autoTLS | Enable TLS automatically if supported by server | true / false | true |
| leantime.sm |
Deploy leantime with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has leantime on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartleantime is pinned at v0.2.11 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply