[Unit]
Description=TeamSpeak 6 Server (Beta)
Wants=network-online.target
After=network-online.target

[Container]
Image=docker.io/teamspeaksystems/teamspeak6-server:latest
ContainerName=teamspeak6
Environment=TSSERVER_LICENSE_ACCEPTED=accept
Volume=/opt/teamspeak6:/var/tsserver:Z
PublishPort=9987:9987/udp
PublishPort=30033:30033/tcp
LogDriver=journald

[Service]
Restart=always
RestartSec=5
TimeoutStartSec=900

[Install]
WantedBy=multi-user.target
