first commit
This commit is contained in:
26
emby.container
Normal file
26
emby.container
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Emby Media Server
|
||||||
|
|
||||||
|
[Container]
|
||||||
|
ContainerName=emby
|
||||||
|
Image=docker.io/emby/embyserver:latest
|
||||||
|
AutoUpdate=registry
|
||||||
|
PublishPort=8096:8096
|
||||||
|
PublishPort=8920:8920
|
||||||
|
Network=host
|
||||||
|
Volume=emby-config:/config:Z
|
||||||
|
Volume=/media/EMBY:/mnt/Videos
|
||||||
|
AddDevice=/dev/dri/:/dev/dri/
|
||||||
|
Environment=UID=1000
|
||||||
|
Environment=GID=100
|
||||||
|
Environment=GIDLIST=100
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
# Inform systemd of additional exit status
|
||||||
|
SuccessExitStatus=0 143
|
||||||
|
Restart=unless-stopped
|
||||||
|
# Give the container a moment to shut down gracefully
|
||||||
|
TimeoutStopSec=30
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
Reference in New Issue
Block a user