blob: b7329f57851942ef2cf6cbaecdcbdf65993d2c55 (
plain) (
blame)
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
48
49
50
51
52
53
54
55
56
|
apiVersion: v1
kind: Pod
metadata:
name: calibre
labels:
traefik.enable: true
traefik.http.routers.calibre.tls: true
traefik.http.routers.calibre.tls.certresolver: le
traefik.http.routers.calibre.entrypoints: http,https
traefik.http.routers.calibre.rule: Host(`calibre.gzr.im`)
traefik.http.routers.calibre.service: calibre
traefik.http.services.calibre.loadbalancer.server.port: 8083
spec:
dnsPolicy: Default
containers:
- name: calibre
image: ghcr.io/crocodilestick/calibre-web-automated:v${version}
env:
- name: PUID
value: 1000
- name: PGID
value: 1000
- name: TZ
value: Europe/Berlin
- name: NETWORK_SHARE_MODE
value: 'False'
- name: CWA_WATCH_MODE
value: poll
volumeMounts:
- mountPath: /calibre-library
name: library
- mountPath: /config
name: data
subPath: config
- mountPath: /cwa-book-ingest
name: data
subPath: inbox
- mountPath: /config/.config/calibre/plugins
name: data
subPath: plugins
ports:
- containerPort: 8083
protocol: TCP
livenessProbe:
exec:
command: ["curl", "-SLf", "localhost:8083/health"]
initialDelaySeconds: 10
volumes:
- name: library
hostPath:
path: /media/hayasui/media/books
type: Directory
- name: data
hostPath:
path: /var/lib/calibre
type: Directory
|