2020-09-23 13:35:17 +00:00
|
|
|
image:
|
|
|
|
name: traefik
|
2020-11-23 12:19:31 +00:00
|
|
|
# tag: 2.3.2
|
2020-09-23 13:35:17 +00:00
|
|
|
|
2020-09-01 15:44:43 +00:00
|
|
|
ports:
|
2020-09-08 06:59:30 +00:00
|
|
|
rtmp:
|
|
|
|
port: 1935
|
|
|
|
exposedPort: 1935
|
|
|
|
expose: true
|
2020-09-01 15:44:43 +00:00
|
|
|
web:
|
|
|
|
redirectTo: websecure
|
|
|
|
|
2020-11-04 12:11:47 +00:00
|
|
|
service:
|
|
|
|
spec:
|
|
|
|
externalTrafficPolicy: Local
|
|
|
|
|
2020-09-01 15:44:43 +00:00
|
|
|
volumes:
|
|
|
|
- name: traefik-configmap
|
|
|
|
mountPath: /etc/traefik
|
|
|
|
type: configMap
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
enabled: true
|
|
|
|
accessMode: ReadWriteMany
|
|
|
|
path: /data
|
|
|
|
existingClaim: "traefik"
|
|
|
|
|
|
|
|
env:
|
|
|
|
- name: CF_API_EMAIL
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: traefik-cloudflare
|
|
|
|
key: CF_API_EMAIL
|
|
|
|
- name: CF_API_KEY
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: traefik-cloudflare
|
|
|
|
key: CF_API_KEY
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
capabilities:
|
|
|
|
drop: []
|
|
|
|
readOnlyRootFilesystem: true
|
|
|
|
runAsGroup: 0
|
|
|
|
runAsNonRoot: false
|
|
|
|
runAsUser: 0
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
fsGroup: 0
|