Closed luizjr closed 4 years ago
Hey @luizjr,
docker exec -it [containername] bash
vim /home/steam/csgo-dedicated/csgo/cfg/server.cfg
Change the hostname, then restart the container. If I find some time this weekend I will finally expose that as an environment variables, so it's easier to override.
Change the hostname, then restart the container. If I find some time this weekend I will finally expose that as an environment variables, so it's easier to override.
Thanks! If you put it as an environment variable, I believe it can be set when starting the container.
So only the part of adding admins to sourcemod would be pending to explain
https://wiki.alliedmods.net/Adding_Admins_(SourceMod)
/home/steam/csgo-dedicated/csgo/addons/sourcemod/configs/admins_simple.ini
https://wiki.alliedmods.net/Adding_Admins_(SourceMod)
/home/steam/csgo-dedicated/csgo/addons/sourcemod/configs/admins_simple.ini
I did it by following the information and the file path you provided! Thank you, I look forward to configuring these settings as environment variables (-e)
I will take some time to suggest a modification, I hope it will help me make the pull request, I have a suggestion in mind, as soon as I edit I will let you know.
Closed by #26. Introduced SRCDS_HOSTNAME
I found the format very interesting, but I miss more instructions, besides, I don't know how to define a name for my server.
Can you help me with that?