diff options
Diffstat (limited to 'public/v2/apps/spigot.json')
| -rw-r--r-- | public/v2/apps/spigot.json | 154 |
1 files changed, 75 insertions, 79 deletions
diff --git a/public/v2/apps/spigot.json b/public/v2/apps/spigot.json index 1369fd5..54c67da 100644 --- a/public/v2/apps/spigot.json +++ b/public/v2/apps/spigot.json @@ -1,80 +1,76 @@ { - "captainVersion": "2", - "documentation": "https://github.com/nimmis/docker-spigot", - "displayName": "Spigot", - "description": "Spigot is a performance optimized server for Minecraft with plugin support.", - "dockerCompose": { - "services": { - "$$cap_appname": { - "notExposeAsWebApp": "true", - "ports": [ - "$$cap_port:25565" - ], - "environment": { - "EULA": "$$cap_eula", - "SPIGOT_VER": "$$cap_spigot_version", - "MC_MAXMEM": "$$cap_maxmem", - "MC_MINMEM": "$$cap_minmem", - "SPIGOT_AUTORESTART": "$$cap_autorestart" - }, - "image": "nimmis/spigot@$$cap_version", - "restart": "always", - "volumes": [ - "$$cap_appname-data:/minecraft" - ] - } - }, - "version": "2", - "volumes": { - "$$cap_appname-data": {} - } - }, - "instructions": { - "end": "The container will now download and build the Spigot Minecraft server, so you will need a few minutes before you can access it. Check the status in the logs.", - "start": "This one click app is based on a community created docker image, nimmis/spigot. You have to agree to the Minecraft EULA to be able to use this software: https://account.mojang.com/documents/minecraft_eula" - }, - "variables": [ - { - "label": "EULA", - "description": "IMPORTANT: Read the EULA at https://account.mojang.com/documents/minecraft_eula and set this field to true if you agree. This is a prerequisite to use this software.", - "defaultValue": "", - "id": "$$cap_eula" - }, - { - "label": "Docker Image Version", - "description": "The Docker image used does not offer version tags. Since the use of the latest tag is not recommended, refer to the image version by SHA tag.", - "defaultValue": "sha256:b968685fadb79e6dacca8efc030ee53f695441b8d6dfde4b86e027ba1f6796db", - "id": "$$cap_version" - }, - { - "label": "Game Server Port (TCP/UDP)", - "description": "This is the port the server will expose for players to join.", - "defaultValue": "25565", - "id": "$$cap_port" - }, - { - "label": "Spigot Version", - "description": "Versions as available on https://www.spigotmc.org/wiki/buildtools/#versions (e.g. 1.15.2 or latest)", - "defaultValue": "latest", - "id": "$$cap_spigot_version" - }, - { - "label": "Maximum Memory", - "description": "Define maximum memory to be used by the server (e.g. 512m or 2g)", - "defaultValue": "1g", - "id": "$$cap_maxmem" - }, - { - "label": "Initial Memory", - "description": "Define initial memory reservation to be used by the server (e.g. 512m or 2g)", - "defaultValue": "512m", - "id": "$$cap_minmem" - }, - { - "label": "Autorestart", - "description": "Define if container should automatically restart after issuing a stop command within the server (yes or no)", - "defaultValue": "yes", - "id": "$$cap_autorestart" - } - ] -}
\ No newline at end of file + "captainVersion": "2", + "documentation": "https://github.com/nimmis/docker-spigot", + "displayName": "Spigot", + "description": "Spigot is a performance optimized server for Minecraft with plugin support.", + "dockerCompose": { + "services": { + "$$cap_appname": { + "notExposeAsWebApp": "true", + "ports": ["$$cap_port:25565"], + "environment": { + "EULA": "$$cap_eula", + "SPIGOT_VER": "$$cap_spigot_version", + "MC_MAXMEM": "$$cap_maxmem", + "MC_MINMEM": "$$cap_minmem", + "SPIGOT_AUTORESTART": "$$cap_autorestart" + }, + "image": "nimmis/spigot@$$cap_version", + "restart": "always", + "volumes": ["$$cap_appname-data:/minecraft"] + } + }, + "version": "2", + "volumes": { + "$$cap_appname-data": {} + } + }, + "instructions": { + "end": "The container will now download and build the Spigot Minecraft server, so you will need a few minutes before you can access it. Check the status in the logs.", + "start": "This one click app is based on a community created docker image, nimmis/spigot. You have to agree to the Minecraft EULA to be able to use this software: https://account.mojang.com/documents/minecraft_eula" + }, + "variables": [ + { + "label": "EULA", + "description": "IMPORTANT: Read the EULA at https://account.mojang.com/documents/minecraft_eula and set this field to true if you agree. This is a prerequisite to use this software.", + "defaultValue": "", + "id": "$$cap_eula" + }, + { + "label": "Docker Image Version", + "description": "The Docker image used does not offer version tags. Since the use of the latest tag is not recommended, refer to the image version by SHA tag.", + "defaultValue": "sha256:b968685fadb79e6dacca8efc030ee53f695441b8d6dfde4b86e027ba1f6796db", + "id": "$$cap_version" + }, + { + "label": "Game Server Port (TCP/UDP)", + "description": "This is the port the server will expose for players to join.", + "defaultValue": "25565", + "id": "$$cap_port" + }, + { + "label": "Spigot Version", + "description": "Versions as available on https://www.spigotmc.org/wiki/buildtools/#versions (e.g. 1.15.2 or latest)", + "defaultValue": "latest", + "id": "$$cap_spigot_version" + }, + { + "label": "Maximum Memory", + "description": "Define maximum memory to be used by the server (e.g. 512m or 2g)", + "defaultValue": "1g", + "id": "$$cap_maxmem" + }, + { + "label": "Initial Memory", + "description": "Define initial memory reservation to be used by the server (e.g. 512m or 2g)", + "defaultValue": "512m", + "id": "$$cap_minmem" + }, + { + "label": "Autorestart", + "description": "Define if container should automatically restart after issuing a stop command within the server (yes or no)", + "defaultValue": "yes", + "id": "$$cap_autorestart" + } + ] +} |
