add: server startup password as variable

This commit is contained in:
Panda260 2023-01-27 12:15:45 +01:00
parent 1877c11fd1
commit 81c4de18ab

View File

@ -13,7 +13,7 @@
"ghcr.io\/parkervcp\/yolks:box64": "ghcr.io\/parkervcp\/yolks:box64" "ghcr.io\/parkervcp\/yolks:box64": "ghcr.io\/parkervcp\/yolks:box64"
}, },
"file_denylist": [], "file_denylist": [],
"startup": "box64 .\/ts3server default_voice_port={{SERVER_PORT}} query_port={{QUERY_PORT}} filetransfer_ip=0.0.0.0 filetransfer_port={{FILE_TRANSFER}} license_accepted=1", "startup": "box64 .\/ts3server default_voice_port={{SERVER_PORT}} query_port={{QUERY_PORT}} filetransfer_ip=0.0.0.0 filetransfer_port={{FILE_TRANSFER}} serveradmin_password={{SERVERADMIN_PASSWORD}} license_accepted=1",
"config": { "config": {
"files": "{}", "files": "{}",
"startup": "{\r\n \"done\": \"listening on 0.0.0.0:\"\r\n}", "startup": "{\r\n \"done\": \"listening on 0.0.0.0:\"\r\n}",
@ -28,6 +28,16 @@
} }
}, },
"variables": [ "variables": [
{
"name": "Server Query Admin Password",
"description": "The password for the server query admin user.",
"env_variable": "SERVERADMIN_PASSWORD",
"default_value": "changeme",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:32",
"field_type": "text"
},
{ {
"name": "Server Version", "name": "Server Version",
"description": "The version of Teamspeak 3 to use when running the server.", "description": "The version of Teamspeak 3 to use when running the server.",