67 lines
1.7 KiB
YAML
67 lines
1.7 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: transmission
|
|
namespace: apps
|
|
labels:
|
|
app: transmission
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: transmission
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: transmission
|
|
spec:
|
|
containers:
|
|
- name: transmission
|
|
image: lscr.io/linuxserver/transmission:latest
|
|
ports:
|
|
- name: web
|
|
containerPort: 9091
|
|
protocol: TCP
|
|
- name: peer
|
|
containerPort: 51413
|
|
protocol: TCP
|
|
- name: peer-udp
|
|
containerPort: 51413
|
|
protocol: UDP
|
|
env:
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: TZ
|
|
value: "Etc/UTC"
|
|
- name: TRANSMISSION_WEB_HOME
|
|
value: "/web/":"
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
- name: data
|
|
mountPath: /data
|
|
- name: gluetun
|
|
image: qmcgaw/gluetun:latest
|
|
env:
|
|
- name: VPN_SERVICE_PROVIDER
|
|
value: "protonvpn"
|
|
- name: VPN_TYPE
|
|
value: "wireguard"
|
|
ports:
|
|
- name: https
|
|
containerPort: 443
|
|
protocol: TCP
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: transmission-config-claim
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: transmission-data-claim |