traccar

by JeffResc

Helm chartv0.2.0App 6.7-alpineVerified publisher

Modern GPS Tracking Platform

About this chart

traccar

Helm chart for deploying traccar.

This chart is not maintained by the upstream project and any issues with the chart should be raised here.

Source code

  • https://github.com/traccar/traccar

TL;DR

Using Helm Repository

helm repo add jeffresc https://charts.jeffresc.dev
helm repo update
helm install traccar jeffresc/traccar

Using OCI Registry (GHCR)

helm install traccar oci://ghcr.io/jeffresc/charts/traccar

Installing the Chart

To install the chart with the release name traccar

helm install traccar jeffresc/traccar

Uninstalling the Chart

To uninstall the traccar deployment

helm uninstall traccar

Values

KeyTypeDefaultDescription
affinityobject{}
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
config.generatebooltrue
config.secrets[0].envstring"DATABASE-PASSWORD"
config.secrets[0].keystring"database.password"
config.secrets[0].secretKeystring"mysql-password"
config.secrets[0].secretRefstring"traccar-mysql"
config.values."database.driver"string"com.mysql.cj.jdbc.Driver"
config.values."database.url"string"jdbc:mysql://traccar-mysql/traccar"
config.values."database.user"string"traccar"
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"traccar/traccar"
image.tagstring""
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
initContainer.enabledbooltrue
initContainer.image.pullPolicystring"IfNotPresent"
initContainer.image.repositorystring"busybox"
initContainer.image.securityContextobject{}
initContainer.image.tagstring"1.37"
livenessProbe.httpGet.pathstring"/"
livenessProbe.httpGet.portstring"http"
loadBalancer.enabledboolfalse
loadBalancer.portRange.endint5150
loadBalancer.portRange.startint5000
mysql.auth.databasestring"traccar"
mysql.auth.usernamestring"traccar"
mysql.enabledboolfalse
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podLabelsobject{}
podSecurityContextobject{}
readinessProbe.httpGet.pathstring"/"
readinessProbe.httpGet.portstring"http"
replicaCountint1
resourcesobject{}
securityContextobject{}
service.portint8082
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.automountbooltrue
serviceAccount.createboolfalse
serviceAccount.namestring""
tolerationslist[]
volumeMountslist[]
volumeslist[]

Changelog

See CHANGELOG.md for the full release history.

Deploy traccar with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has traccar 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttraccar is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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