2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/traccar
|
2022-05-25 06:40:41 +00:00
|
|
|
tag: v5.0@sha256:b56353fba09e0103d8fef47b283f5aaf592420ceec0123d14194e8b7a9630d0d
|
2021-10-19 12:20:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
env:
|
|
|
|
CONFIG_USE_ENVIRONMENT_VARIABLES: true
|
|
|
|
LOGGER_CONSOLE: true
|
|
|
|
DATABASE_DRIVER: "org.postgresql.Driver"
|
|
|
|
DATABASE_USER: "{{ .Values.postgresql.postgresqlUsername }}"
|
|
|
|
DATABASE_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: postgresql-password
|
|
|
|
DATABASE_URL:
|
|
|
|
secretKeyRef:
|
|
|
|
name: dbcreds
|
|
|
|
key: jdbc
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 8082
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 8082
|
2021-10-19 12:20:06 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
2021-11-14 19:19:16 +00:00
|
|
|
mountPath: "/opt/traccar/data"
|
2021-10-19 12:20:06 +00:00
|
|
|
|
|
|
|
postgresql:
|
|
|
|
enabled: true
|
|
|
|
existingSecret: "dbcreds"
|
|
|
|
postgresqlUsername: traccar
|
|
|
|
postgresqlDatabase: traccar
|