2021-10-19 08:20:06 -04:00
|
|
|
image:
|
2021-12-03 07:02:44 -05:00
|
|
|
repository: tccr.io/truecharts/traccar
|
2022-08-20 07:16:50 -04:00
|
|
|
tag: 5.3@sha256:3c7b0a6617c8684485077475fa7132d8ce9c5c2d07bfdc910d334f076b6bf900
|
2021-10-19 08:20:06 -04:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 8082
|
2021-11-06 17:55:18 -04:00
|
|
|
targetPort: 8082
|
2021-10-19 08:20:06 -04:00
|
|
|
persistence:
|
|
|
|
data:
|
|
|
|
enabled: true
|
2021-11-14 14:19:16 -05:00
|
|
|
mountPath: "/opt/traccar/data"
|
2023-04-11 06:07:17 -04:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
2021-10-19 08:20:06 -04:00
|
|
|
|
2023-04-11 06:07:17 -04:00
|
|
|
user: traccar
|
|
|
|
database: traccar
|
2022-08-08 17:25:02 -04:00
|
|
|
portal:
|
2023-04-11 06:07:17 -04:00
|
|
|
open:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
|
|
|
CONFIG_USE_ENVIRONMENT_VARIABLES: true
|
|
|
|
LOGGER_CONSOLE: true
|
|
|
|
DATABASE_DRIVER: "org.postgresql.Driver"
|
|
|
|
DATABASE_USER: "{{ .Values.cnpg.main.user }}"
|
|
|
|
DATABASE_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-user
|
|
|
|
key: password
|
|
|
|
DATABASE_URL:
|
|
|
|
secretKeyRef:
|
|
|
|
name: cnpg-main-urls
|
|
|
|
key: jdbc
|