20 lines
450 B
INI
20 lines
450 B
INI
|
|
[Unit]
|
||
|
|
Description=Plex Age Limit Setter
|
||
|
|
Documentation=https://github.com/yourusername/plex-age-limit-setter
|
||
|
|
|
||
|
|
[Container]
|
||
|
|
Image=localhost/plex-age-setter:latest
|
||
|
|
ContainerName=plex-age-setter
|
||
|
|
EnvironmentFile=.env
|
||
|
|
Network=host
|
||
|
|
PublishPort=8000:8000
|
||
|
|
Label=app=plex-age-setter
|
||
|
|
HealthCmd=curl -sf http://localhost:8000/health || exit 1
|
||
|
|
HealthInterval=30s
|
||
|
|
HealthRetries=3
|
||
|
|
HealthStartPeriod=10s
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=default.target
|
||
|
|
WantedBy=multi-user.target
|