sanic/sanic.container

30 lines
553 B
Plaintext
Raw Permalink Normal View History

2024-08-08 00:05:49 +02:00
[Unit]
Description=sanic - chaos music control
[Container]
2024-08-08 00:50:33 +02:00
AddCapability=CAP_NET_BIND_SERVICE
2024-08-08 00:05:49 +02:00
AutoUpdate=registry
ContainerName=sanic
Group=sanic
2024-08-08 00:50:33 +02:00
HealthCmd=/usr/bin/curl localhost:443/echo
2024-08-08 00:05:49 +02:00
HealthInterval=2m
HealthOnFailure=restart
HealthRetries=5
HealthStartPeriod=1m
Image=registry.gitlab.com/xengi/sanic/sanic:latest
LogDriver=journald
Network=host
NoNewPrivileges=true
2024-08-08 00:50:33 +02:00
PublishPort=443
2024-08-08 00:05:49 +02:00
Pull=always
User=sanic
Volume=/etc/sanic/config.ini:/config.ini
[Service}
Restart=always
TimeoutStartSec=900
2024-08-08 00:05:49 +02:00
[Install]
WantedBy=multi-user.target default.target
2024-08-08 00:50:33 +02:00