-
Notifications
You must be signed in to change notification settings - Fork 3
/
calibre-web.yml
71 lines (69 loc) · 1.65 KB
/
calibre-web.yml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
kind: Deployment
apiVersion: apps/v1
metadata:
name: calibre-web
spec:
replicas: 1
selector:
matchLabels:
app: calibre-web
template:
metadata:
labels:
app: calibre-web
spec:
containers:
- name: calibre-web
image: linuxserver/calibre-web
volumeMounts:
- mountPath: /books
name: calibre-web-data-books
- mountPath: /config
name: calibre-web-data-config
env:
- name: PGID
value: "100"
- name: PUID
value: "1000"
- name: TZ
value: "America/Montevideo"
- name: DOCKER_MODS
value: "linuxserver/calibre-web:calibre"
volumes:
- name: calibre-web-data-books
hostPath:
path: /mnt/data/calibre-web-data/books
type: Directory
- name: calibre-web-data-config
hostPath:
path: /mnt/data/calibre-web-data/config
type: Directory
---
apiVersion: v1
kind: Service
metadata:
name: calibre-web
labels:
app: calibre-web
spec:
ports:
- port: 8083
name: calibre-web
selector:
app: calibre-web
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: calibre-web-ingress
spec:
entryPoints:
- websecure
routes:
- match: Host(`books.yourdomain.com`)
kind: Rule
services:
- name: calibre-web
port: 8083
tls:
certResolver: myresolver