diff options
| author | Marcin Maselko <d3fus@cocaine.farm> | 2025-12-26 14:58:53 +0100 |
|---|---|---|
| committer | Marcin Maselko <d3fus@cocaine.farm> | 2025-12-26 14:58:53 +0100 |
| commit | 1508f0a19342c382c4e85bd7c8d0a6453f8c3723 (patch) | |
| tree | 9e1ec81daba98b7d492acb69e858e3575aa46875 /modules/teamspeak | |
| parent | add git readme command (diff) | |
added ts6 test server (container) with podman
Diffstat (limited to 'modules/teamspeak')
| -rw-r--r-- | modules/teamspeak/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/teamspeak/default.nix b/modules/teamspeak/default.nix index 2ab4092..310eb13 100644 --- a/modules/teamspeak/default.nix +++ b/modules/teamspeak/default.nix @@ -17,4 +17,22 @@ Restart = lib.mkForce "always"; }; }; + + virtualisation.oci-containers.containers = { + teamspeak6-server = { + image = "teamspeaksystems/teamspeak6-server:latest"; + autoStart = true; + ports = [ + "178.63.224.13:9987:9987/udp" # Default voice port + "178.63.224.13:30033:30033/tcp" # File transfer port + ]; + environment = { + TSSERVER_LICENSE_ACCEPTED="accept"; + TSSERVER_DEFAULT_PORT="9987"; + TSSERVER_VOICE_IP="0.0.0.0"; + TSSERVER_FILE_TRANSFER_PORT="30033"; + TSSERVER_FILE_TRANSFER_IP="0.0.0.0"; + }; + }; + }; } |
