2021-10-19 12:20:06 +00:00
|
|
|
image:
|
|
|
|
# -- image repository
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/traccar
|
2021-10-19 12:20:06 +00:00
|
|
|
# -- image tag
|
2022-02-03 18:20:35 +00:00
|
|
|
tag: v4.15@sha256:3959d04826ee12f2affcd651a68299d98de088a234483bf8d804c27b8e5081ea
|
2021-10-19 12:20:06 +00:00
|
|
|
# -- image pull policy
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
# -- environment variables. See more environment variables in the [traccar documentation](https://www.traccar.org/configuration-file/)
|
|
|
|
# @default -- See below
|
|
|
|
env:
|
|
|
|
# -- Set application to read environment variables
|
|
|
|
CONFIG_USE_ENVIRONMENT_VARIABLES: true
|
|
|
|
# -- Set application to log to stdout
|
|
|
|
LOGGER_CONSOLE: true
|
|
|
|
DATABASE_DRIVER: "org.postgresql.Driver"
|
|
|
|
DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
|
|
|
|
envValueFrom:
|
|
|
|
DATABASE_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
DATABASE_URL:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: jdbc
|
|
|
|
|
|
|
|
# -- Configures service settings for the chart.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 8082
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 8082
|
2021-10-19 12:20:06 +00:00
|
|
|
|
|
|
|
# -- Configure persistence settings for the chart under this key.
|
|
|
|
# @default -- See values.yaml
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
2021-11-14 19:19:16 +00:00
|
|
|
mountPath: "/opt/traccar/data"
|
2021-10-19 12:20:06 +00:00
|
|
|
|
|
|
|
# Enabled postgres
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: traccar
|
|
|
|
postgresqlDatabase: traccar
|