51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
image:
|
|
# -- image repository
|
|
repository: tccr.io/truecharts/traccar
|
|
# -- image tag
|
|
tag: v4.14@sha256:39fe3c8c65caef00ab79591c98b383432fe2d21bf745c925df6fd7891ce6fe78
|
|
# -- 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
|
|
targetPort: 8082
|
|
|
|
# -- Configure persistence settings for the chart under this key.
|
|
# @default -- See values.yaml
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/opt/traccar/data"
|
|
|
|
# Enabled postgres
|
|
postgresql:
|
|
enabled: true
|
|
existingSecret: "dbcreds"
|
|
postgresqlUsername: traccar
|
|
postgresqlDatabase: traccar
|