-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
90 lines (86 loc) · 3.13 KB
/
compose.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
networks:
default:
name: tk-proxy
external: true
services:
jellyfin:
container_name: jellyfin
deploy:
resources:
reservations:
devices:
- capabilities:
- gpu
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
group_add:
- '105'
image: jellyfin/jellyfin:latest
labels:
traefik.enable: true
traefik.http.middlewares.jellyfin.headers.browserxssfilter: true
traefik.http.middlewares.jellyfin.headers.contenttypenosniff: true
traefik.http.middlewares.jellyfin.headers.customresponseheaders.X-Robots-Tag: noindex,nofollow,nosnippet,noarchive,notranslate,noimageindex
traefik.http.middlewares.jellyfin.headers.forcestsheader: true
traefik.http.middlewares.jellyfin.headers.framedeny: true
traefik.http.middlewares.jellyfin.headers.sslforcehost: true
traefik.http.middlewares.jellyfin.headers.sslredirect: true
traefik.http.middlewares.jellyfin.headers.stsincludesubdomains: true
traefik.http.middlewares.jellyfin.headers.stspreload: true
traefik.http.middlewares.jellyfin.headers.stsseconds: 315360000
traefik.http.routers.jellyfin.entrypoints: https
traefik.http.routers.jellyfin.middlewares: jellyfin
traefik.http.routers.jellyfin.rule: Host(`jellyfin.local.xerogravity.space`) || Host(`jellyfin.ts.xerogravity.space`) || Host(`jellyfin.cf.xerogravity.space`)
traefik.http.routers.jellyfin.service: jellyfin
traefik.http.routers.jellyfin.tls: true
traefik.http.services.jellyfin.loadbalancer.server.port: 8096
restart: unless-stopped
runtime: nvidia
user: 1000:1000
volumes:
- type: bind
source: /mnt/void/data/media
target: /media
read_only: false
- type: bind
source: ./container_data/jellyfin/cache
target: /cache
read_only: false
- type: bind
source: ./container_data/jellyfin/config
target: /config
read_only: false
jellysearch:
container_name: jellysearch
env_file:
- .env
environment:
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY}
INDEX_CRON: 0 0 0/2 ? * * *
image: domistyle/jellysearch
labels:
traefik.enable: true
traefik.http.routers.jellysearch.entrypoints: https
traefik.http.routers.jellysearch.rule: (Host(`jellyfin.local.xerogravity.space`) || Host(`jellyfin.ts.xerogravity.space`) || Host(`jellyfin.cf.xerogravity.space`)) && (QueryRegexp(`searchTerm`, `(.*?)`) || QueryRegexp(`SearchTerm`, `(.*?)`))
traefik.http.routers.jellysearch.service: jellysearch
traefik.http.routers.jellysearch.tls: true
traefik.http.services.jellysearch.loadbalancer.server.port: 5000
restart: unless-stopped
volumes:
- type: bind
source: ./container_data/jellyfin/config
target: /config
read_only: true
meilisearch:
container_name: meilisearch
env_file:
- .env
environment:
MEILI_MASTER_KEY: ${MEILI_MASTER_KEY}
image: getmeili/meilisearch:v1.9
restart: unless-stopped
volumes:
- type: bind
source: ./container_data/meilisearch/meili_data
target: /meili_data
read_only: false