transmission-dply.yaml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: transmission
  5. spec:
  6. replicas: 1
  7. selector:
  8. matchLabels:
  9. name: transmission
  10. template:
  11. metadata:
  12. labels:
  13. name: transmission
  14. nginx: backend
  15. spec:
  16. containers:
  17. - name: transmission
  18. image: lscr.io/linuxserver/transmission:latest
  19. env:
  20. - name: PUID
  21. value: "1000"
  22. - name: GUID
  23. value: "1000"
  24. - name: TZ
  25. value: "Europe/Zurich"
  26. - name: BACKUP_RETENTION
  27. value: "30d"
  28. - name: PEERPORT
  29. value: "31413"
  30. - name: USER
  31. value: "qdii"
  32. - name: PASS
  33. value: "cSdU3YLdm5mFTRYZe3DTEez3qZjKok"
  34. volumeMounts:
  35. - name: incomplete-dl
  36. mountPath: /downloads/incomplete
  37. - name: dl
  38. mountPath: /downloads/complete
  39. - name: config
  40. mountPath: /config
  41. - name: watch
  42. mountPath: /watch
  43. ports:
  44. - containerPort: 9091
  45. name: webui
  46. - containerPort: 31413
  47. name: torrent
  48. volumes:
  49. - name: dl
  50. persistentVolumeClaim:
  51. claimName: transmission-dl-pvc
  52. - name: incomplete-dl
  53. persistentVolumeClaim:
  54. claimName: transmission-dl-incomplete-pvc
  55. - name: config
  56. persistentVolumeClaim:
  57. claimName: transmission-config-pvc
  58. - name: watch
  59. persistentVolumeClaim:
  60. claimName: transmission-watch-pvc