Add jellyfin
This commit is contained in:
parent
b11e4d0a7a
commit
3993ddfd52
3
ansible/plays/services/jellyfin/.env
Normal file
3
ansible/plays/services/jellyfin/.env
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
COMPOSE_PROJECT_NAME=jellyfin
|
||||||
|
UID=64001
|
||||||
|
GID=64001
|
25
ansible/plays/services/jellyfin/docker-compose.yaml
Normal file
25
ansible/plays/services/jellyfin/docker-compose.yaml
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
version: "3.4"
|
||||||
|
|
||||||
|
services:
|
||||||
|
jellyfin:
|
||||||
|
image: jellyfin/jellyfin:latest
|
||||||
|
user: "$UID:$GID"
|
||||||
|
ports:
|
||||||
|
- "8096:8096/tcp"
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- "library:/media"
|
||||||
|
- "cache:/cache"
|
||||||
|
- "config:/config"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
library:
|
||||||
|
driver: local
|
||||||
|
driver_opts:
|
||||||
|
type: cifs
|
||||||
|
device: "{{ jellyfin.cifs.address }}"
|
||||||
|
o: "username={{ jellyfin.cifs.username }},password={{ jellyfin.cifs.password }},vers=3.0,uid=$UID,gid=$GID"
|
||||||
|
cache:
|
||||||
|
config:
|
||||||
|
...
|
@ -25,3 +25,4 @@
|
|||||||
- {role: compose_project, service: watchtower}
|
- {role: compose_project, service: watchtower}
|
||||||
- {role: compose_project, service: gitea-runner}
|
- {role: compose_project, service: gitea-runner}
|
||||||
- {role: compose_project, service: offlineimap}
|
- {role: compose_project, service: offlineimap}
|
||||||
|
- {role: compose_project, service: jellyfin}
|
||||||
|
Loading…
Reference in New Issue
Block a user