This repository has been archived by the owner on Jun 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Setup the application
Lukas edited this page Dec 28, 2018
·
3 revisions
Clone the repository and build it using GO111MODULE=on go build ./...
or download a precompiled release.
Because you don't want to read the whole configuration guide, here are some common configuration files:
Using DigitalOcean as provider:
{
"web": {
"port": 8011,
"cors_domain": "YourDomain"
},
"gmod": {
"port": 27015,
"rcon_password": "YourRconPassword",
"check_interval": 5,
"shutdown_after": 60
},
"cloud": {
"provider": "DigitalOcean",
"token": "YourApiToken",
"server_name": "ubuntu-ttt-1vcpu-1gb-fra1",
"server_type": "s-1vcpu-1gb",
"region": "fra1",
"snapshot": "YourSnapshotName",
"ssh_key": "YourSSHKey"
}
}
Using Hetzner as provider:
{
"web": {
"port": 8011,
"cors_domain": "YourDomain"
},
"gmod": {
"port": 27015,
"rcon_password": "YourRconPassword",
"check_interval": 5,
"shutdown_after": 60
},
"cloud": {
"provider": "Hetzner",
"token": "YourApiToken",
"server_name": "ubuntu-ttt-2gb-fsn1",
"server_type": "cx11",
"region": "fsn1",
"snapshot": "YourSnapshotName",
"ssh_key": "YourSSHKey"
}
}
As you can see, there some values which begin with Your
.
You have to fill in these values, so here are links to the configuration guide:
- YourDomain: web.cors_domain
- YourRconPassword: gmod.rcon_password
- YourToken: cloud.token
- YourSnapshotName: cloud.snapshot
- YourSSHKey: cloud.ssh_key
That's it, you are ready to go!
If you want to dive deeper into the configuration, read more here.
To start your server and take a look at the status, you can use a web interface.
I've created one: StartMyGameFront
Important: During the setup use the domain specified as web.cors_domain
.