41 lines
927 B
YAML
41 lines
927 B
YAML
image:
|
|
repository: traccar/traccar
|
|
tag: 6.1@sha256:4f3bdf4ed0bb8448e7b49eae82fc16a55e1a6cac74de32aa55ce2b8643646b9a
|
|
pullPolicy: IfNotPresent
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 8082
|
|
targetPort: 8082
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/opt/traccar/data"
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
user: traccar
|
|
database: traccar
|
|
portal:
|
|
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
|