Services/Teamspeak: Init with version v6.0.0.0-beta7
This commit is contained in:
@ -373,6 +373,7 @@
|
||||
tidal-dl-ng
|
||||
picard
|
||||
handbrake
|
||||
teamspeak6-client
|
||||
|
||||
# Office
|
||||
kdePackages.wacomtablet # For xournalpp/krita
|
||||
|
||||
@ -34,6 +34,7 @@
|
||||
../services/nginx-proxy-manager.nix
|
||||
../services/paperless.nix
|
||||
../services/portainer-agent.nix
|
||||
../services/teamspeak.nix
|
||||
../services/tinymediamanager.nix
|
||||
../services/whats-up-docker.nix
|
||||
];
|
||||
|
||||
49
system/services/teamspeak.nix
Normal file
49
system/services/teamspeak.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
teamspeakVersion = "v6.0.0-beta7";
|
||||
in {
|
||||
virtualisation.oci-containers.containers = {
|
||||
teamspeak = {
|
||||
image = "teamspeaksystems/teamspeak6-server:${teamspeakVersion}";
|
||||
autoStart = true;
|
||||
|
||||
login = {
|
||||
# Uses DockerHub by default
|
||||
# registry = "";
|
||||
|
||||
# DockerHub Credentials
|
||||
username = "christoph.urlacher@protonmail.com";
|
||||
passwordFile = "${config.sops.secrets.docker-password.path}";
|
||||
};
|
||||
|
||||
dependsOn = [];
|
||||
|
||||
ports = [
|
||||
# "9987:9987/udp"
|
||||
# "30033:30033"
|
||||
];
|
||||
|
||||
volumes = [
|
||||
"teamspeak_data:/var/tsserver"
|
||||
];
|
||||
|
||||
environment = {
|
||||
PUID = "1000";
|
||||
PGID = "1000";
|
||||
TZ = "Europe/Berlin";
|
||||
|
||||
TSSERVER_LICENSE_ACCEPTED = "accept";
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
# "--privileged"
|
||||
# "--device=nvidia.com/gpu=all"
|
||||
"--net=behind-nginx"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user