Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: vrisign template #306

Open
wants to merge 1 commit into
base: v2.6
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}
Loading