This repository has been archived on 2023-04-02. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-21 18:57:15 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: traccar
|
|
|
|
name: traccar
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: traccar
|
|
|
|
strategy: {}
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: traccar
|
|
|
|
spec:
|
|
|
|
containers:
|
2022-08-09 16:44:33 +00:00
|
|
|
- image: docker.io/traccar/traccar:5.3-alpine
|
2021-04-21 18:57:15 +00:00
|
|
|
name: traccar
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
ports:
|
|
|
|
- containerPort: 8082
|
|
|
|
protocol: TCP
|
|
|
|
name: http
|
|
|
|
- containerPort: 5027
|
|
|
|
protocol: TCP
|
|
|
|
name: teltonika
|
|
|
|
- containerPort: 5055
|
|
|
|
protocol: TCP
|
|
|
|
name: traccar
|
|
|
|
- containerPort: 5144
|
|
|
|
protocol: TCP
|
|
|
|
name: owntracks
|
|
|
|
volumeMounts:
|
|
|
|
- name: config
|
|
|
|
mountPath: /opt/traccar/conf/traccar.xml
|
|
|
|
subPath: traccar.xml
|
|
|
|
- name: logs
|
|
|
|
mountPath: /opt/traccar/logs
|
|
|
|
volumes:
|
|
|
|
- name: config
|
|
|
|
configMap:
|
|
|
|
name: traccar-config
|
|
|
|
- name: logs
|
|
|
|
emptyDir: {}
|