First commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
jellyfin:
|
||||
image: jellyfin/jellyfin:latest
|
||||
container_name: jellyfin
|
||||
user: 1000:1000 # May break the container, idk why
|
||||
ports:
|
||||
- 8096:8096/tcp
|
||||
- 7359:7359/udp
|
||||
volumes:
|
||||
- ${JELLYFIN_DATA}/config:/config
|
||||
- ${JELLYFIN_DATA}/cache:/cache
|
||||
- ${JELLYFIN_MEDIA_DIR}:/media
|
||||
restart: 'unless-stopped'
|
||||
env_file:
|
||||
.env
|
||||
# Optional - alternative address used for autodiscovery
|
||||
environment:
|
||||
- JELLYFIN_PublishedServerUrl=https://jellyfin.change.me
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
|
||||
## (optional) group_add and devices will allow for gpu passthrough for a /dev/dri/render* device
|
||||
#group_add:
|
||||
# - '989' # Change this to match your "render" host group id and remove this comment
|
||||
#devices:
|
||||
# - /dev/dri/renderD128:/dev/dri/renderD128
|
||||
Reference in New Issue
Block a user