Skip to content

Commit

Permalink
feat: vrisign template
Browse files Browse the repository at this point in the history
  • Loading branch information
Mustorze committed Dec 5, 2024
1 parent f8e7452 commit bf1f5ef
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 0 deletions.
20 changes: 20 additions & 0 deletions vrising/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# V Risign

## Preinstall steps

### Pufferpanel user on docker group
Do you need to add pufferpanel user to docker group to execute commands on docker.

```shell
sudo usermod -aG docker pufferpanel
```

Then, restart your server.

## Warning
The **stop server** does not work, just kill the server and the docker container may stop!

## Credits
All credits go to [TrueOsiris](https://github.com/TrueOsiris), on his docker [Vrisign project](https://github.com/TrueOsiris/docker-vrising).

Thank you to do this project !! you are awesome TrueOsiris!
83 changes: 83 additions & 0 deletions vrising/vrising-docker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"name": "VRisign",
"display": "VRisign Dedicated Server (Runs on Docker)",
"type": "vrisign",
"install": [
{
"commands": [
"docker pull trueosiris/vrising",
"mkdir -p ./vrising/server/",
"mkdir -p ./vrising/persistentdata/"
],
"type": "command"
},
{
"target": "docker-compose.yml",
"text": "services:\n vrising:\n image: trueosiris/vrising\n environment:\n - TZ=${timezone}\n - SERVERNAME=${servername}\n volumes:\n - type: bind\n source: ./vrising/server\n target: /mnt/vrising/server\n bind:\n create_host_path: true\n - type: bind\n source: ./vrising/persistentdata\n target: /mnt/vrising/persistentdata\n bind:\n create_host_path: true\n ports:\n - '${gameport}:${gameport}/udp'\n - '${queryport}:${queryport}/udp'\n restart: unless-stopped\n network_mode: bridge",
"type": "writefile"
}
],
"run": {
"stop": "docker compose down",
"command": "docker compose up",
"workingDirectory": "",
"pre": [
{
"target": "docker-compose.yml",
"text": "services:\n vrising:\n image: trueosiris/vrising\n environment:\n - TZ=${timezone}\n - SERVERNAME=${servername}\n volumes:\n - type: bind\n source: ./vrising/server\n target: /mnt/vrising/server\n bind:\n create_host_path: true\n - type: bind\n source: ./vrising/persistentdata\n target: /mnt/vrising/persistentdata\n bind:\n create_host_path: true\n ports:\n - '${gameport}:${gameport}/udp'\n - '${queryport}:${queryport}/udp'\n restart: unless-stopped\n network_mode: bridge",
"type": "writefile"
}
],
"post": [],
"environmentVars": {
"SERVERNAME": "${servername}",
"TZ": "${timezone}"
}
},
"data": {
"gameport": {
"type": "integer",
"desc": "To overrule Port in ServerHostSettings.json config",
"display": "Game port",
"required": true,
"value": "9876",
"userEdit": true
},
"queryport": {
"type": "string",
"desc": "to overrule QueryPort in ServerHostSettings.json config",
"display": "Query port",
"required": true,
"value": "9877",
"userEdit": true
},
"servername": {
"type": "string",
"desc": "Mandatory setting that overrules the ServerHostSettings.json entry",
"display": "Server name",
"required": true,
"value": "v-risign-puffer",
"userEdit": true
},
"timezone": {
"type": "string",
"desc": "Timezone for ntpdate",
"display": "Timezone",
"required": true,
"value": "Europe/Paris",
"userEdit": true
}
},
"environment": {
"type": "tty"
},
"supportedEnvironments": [
{
"type": "tty"
}
],
"requirements": {
"os": "linux",
"arch": "amd64"
}
}

0 comments on commit bf1f5ef

Please sign in to comment.