added environment file

This commit is contained in:
2026-01-15 10:41:40 -05:00
parent 90594b2636
commit 8dc0524538
2 changed files with 5 additions and 3 deletions

22
embyserver.container Normal file
View File

@@ -0,0 +1,22 @@
[Unit]
Description=Emby Media Server
[Container]
ContainerName=embyserver
Image=docker.io/emby/embyserver:latest
AutoUpdate=registry
PublishPort=8096:8096
PublishPort=8920:8920
Network=host
Volume=emby-config:/config:Z
Volume=/media/CONTAINER/Videos:/mnt/Videos
AddDevice=/dev/dri/:/dev/dri/
EnvironmentFIle=embyserver.env
[Service]
Restart=unless-stopped
# Give the container a moment to shut down gracefully
TimeoutStopSec=30
[Install]
WantedBy=default.target