mirror of
				https://github.com/pelican-dev/panel.git
				synced 2025-11-04 16:56:51 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			55 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
 | 
						|
    "meta": {
 | 
						|
        "version": "PTDL_v2",
 | 
						|
        "update_url": null
 | 
						|
    },
 | 
						|
    "exported_at": "2024-07-03T10:30:24+00:00",
 | 
						|
    "name": "Mumble Server",
 | 
						|
    "author": "panel@example.com",
 | 
						|
    "uuid": "727ee758-7fb2-4979-972b-d3eba4e1e9f0",
 | 
						|
    "description": "Mumble is an open source, low-latency, high quality voice chat software primarily intended for use while gaming.",
 | 
						|
    "features": [],
 | 
						|
    "docker_images": {
 | 
						|
        "Mumble": "ghcr.io\/parkervcp\/yolks:voice_mumble"
 | 
						|
    },
 | 
						|
    "file_denylist": [],
 | 
						|
    "startup": "mumble-server -fg -ini murmur.ini",
 | 
						|
    "config": {
 | 
						|
        "files": "{\r\n    \"murmur.ini\": {\r\n        \"parser\": \"ini\",\r\n        \"find\": {\r\n            \"database\": \"\/home\/container\/murmur.sqlite\",\r\n            \"logfile\": \"\/home\/container\/murmur.log\",\r\n            \"port\": \"{{server.allocations.default.port}}\",\r\n            \"host\": \"\",\r\n            \"users\": \"{{server.environment.MAX_USERS}}\"\r\n        }\r\n    }\r\n}",
 | 
						|
        "startup": "{\r\n    \"done\": \"Server listening on\"\r\n}",
 | 
						|
        "logs": "{}",
 | 
						|
        "stop": "^C"
 | 
						|
    },
 | 
						|
    "scripts": {
 | 
						|
        "installation": {
 | 
						|
            "script": "#!\/bin\/ash\r\n\r\nif [ ! -d \/mnt\/server\/ ]; then\r\n    mkdir \/mnt\/server\/\r\nfi\r\n\r\ncd \/mnt\/server\r\n\r\nFILE=\/mnt\/server\/murmur.ini\r\nif [ -f \"$FILE\" ]; then\r\n    echo \"Config file already exists.\"\r\nelse \r\n    echo \"Downloading the config file.\"\r\n    apk add --no-cache murmur\r\n    cp \/etc\/murmur.ini \/mnt\/server\/murmur.ini\r\n    apk del murmur\r\nfi\r\necho \"done\"",
 | 
						|
            "container": "ghcr.io\/parkervcp\/installers:alpine",
 | 
						|
            "entrypoint": "ash"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "variables": [
 | 
						|
        {
 | 
						|
            "name": "Maximum Users",
 | 
						|
            "description": "Maximum concurrent users on the mumble server.",
 | 
						|
            "env_variable": "MAX_USERS",
 | 
						|
            "default_value": "100",
 | 
						|
            "user_viewable": true,
 | 
						|
            "user_editable": false,
 | 
						|
            "rules": "required|numeric|digits_between:1,5",
 | 
						|
            "sort": 1,
 | 
						|
            "field_type": "text"
 | 
						|
        },
 | 
						|
        {
 | 
						|
            "name": "Server Port",
 | 
						|
            "description": "",
 | 
						|
            "env_variable": "SERVER_PORT",
 | 
						|
            "default_value": "64738",
 | 
						|
            "user_viewable": true,
 | 
						|
            "user_editable": false,
 | 
						|
            "rules": "required|port",
 | 
						|
            "sort": 2,
 | 
						|
            "field_type": "text"
 | 
						|
        }
 | 
						|
    ]
 | 
						|
} |