2021-10-19 12:20:06 +00:00
|
|
|
image:
|
2021-12-03 12:02:44 +00:00
|
|
|
repository: tccr.io/truecharts/traccar
|
2022-08-20 11:16:50 +00:00
|
|
|
tag: 5.3@sha256:3c7b0a6617c8684485077475fa7132d8ce9c5c2d07bfdc910d334f076b6bf900
|
2021-10-19 12:20:06 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
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"
|
2023-04-11 10:07:17 +00:00
|
|
|
cnpg:
|
|
|
|
main:
|
|
|
|
enabled: true
|
2021-10-19 12:20:06 +00:00
|
|
|
|
2023-04-11 10:07:17 +00:00
|
|
|
user: traccar
|
|
|
|
database: traccar
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-04-11 10:07:17 +00: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
|