-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mustorze
committed
Dec 5, 2024
1 parent
f8e7452
commit bf1f5ef
Showing
2 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |