[Request] Monolithic Rock-On

I’m no coder and I would really like if someone has the time to make a .json profile for Monolithic. All documentary is available in Docker hub. And Rock-on profile structure can be found from Rock-on JSON structure.

@nasrocket
it shouldn’t be too difficult, copy the below into a blank text file, save with the json extension and and place it in the /opt/rockstor/rockons-metastore folder (if it doesn’t exist you need to create it).

Then after refreshing the Rock-ons directory it should show up as an installation option. I have seen the port 80 and 443 as the default setting, you will have to pick different ones for the mapping, since those might already be used on Rockstor (the 443 for sure for the Rockstor UI).
Not sure whether you need any of the cache/memory items exposed to change the default values or not. But you should be able to easily add those into the json file. Other than a successful installation I couldn’t test it, since I am not doing much gaming these days.

I take it, you know how to reroute the http/https traffic for the gaming providers already.

lancache_monolithic.json
{
	"Lancache: Monolithic": {
		"description": "LAN Party game caching made easy.<p>Download your games once and serve them out to many people at your LAN. A monolithic lancache service capable of caching all cdn's in a single instance.</p><p>Based on the official docker image: <a href='https://hub.docker.com/r/lancachenet/monolithic' target='_blank'>https://hub.docker.com/r/lancachenet/monolithic</a>, currently available on x86_64/amd64 only.</p>",
		"icon": "https://avatars.githubusercontent.com/u/16938914?s=200&v=4",
		"more_info": "See <a href='https://lancache.net/docs/containers/monolithic/' target='_blank'>https://lancache.net/docs/containers/monolithic/</a> for more info.",
		"website": "https://lancache.net/",
		"version": "1.0",
		"containers": {
			"lancache_monolithic": {
				"image": "lancachenet/monolithic",
				"tag": "latest",
				"launch_order": 1,
				"ports": {
					"80": {
						"description": "Port for managing http requests. Default: 80",
						"label": "http Port",
						"host_default": 80,
						"label": "http Port"
					},
					"443": {
						"description": "Port for managing https requests. Default: 443",
						"host_default": 443,
						"label": "https Port"
					}
				},
				"volumes": {
					"/data/cache": {
						"description": "Choose a Share for monolithic's data cache. E.g.: create a Share called mono-cache which should be large in size (e.g. 1TB) as it stores the cached request entries",
						"label": "Cache Space"
					},
					"/data/logs": {
						"description": "Choose a Share for the logs. E.g.: create a Share called for this purpose alone.",
						"label": "Log Files"
					}
				}
			}
		}
	}
}

Good luck. If this works, we can submit it to the Rock-on repository.

2 Likes