-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsync.yaml
47 lines (46 loc) · 1.03 KB
/
sync.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
kind: Pod
apiVersion: v1
metadata:
name: sync
labels:
app: sync
spec:
volumes:
- name: sync-storage
persistentVolumeClaim:
claimName: sync-volume-claim
containers:
- name: resilio-sync
image: linuxserver/resilio-sync:2.6.3-ls8
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: Australia/Sydney
- name: UMASK_SET
value: "<022>"
hostNetwork: true
ports:
- containerPort: 8888
hostPort: 8888
name: "http"
- containerPort: 55555
hostPort: 55555
name: "sync"
volumeMounts:
- mountPath: "/config"
name: sync-storage
subPath: "config"
- mountPath: "/downloads"
name: sync-storage
subPath: "downloads"
- mountPath: "/sync"
name: sync-storage
subPath: "sync-data"
volumes:
- name: sync-storage
hostPath:
path: /mnt/library/sync
type: Directory