51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
|
image:
|
||
|
# -- image repository
|
||
|
repository: tccr.io/truecharts/traccar
|
||
|
# -- image tag
|
||
|
tag: v4.15@sha256:3959d04826ee12f2affcd651a68299d98de088a234483bf8d804c27b8e5081ea
|
||
|
# -- 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
|