* tgu * ok.. * they killed the fucking grab proc im not fixing this * fixes some map shit * huh * Merge remote-tracking branch 'tgstation/master' into tgu24 * this is weird af * idk what went on with this merge but ig its fixed * fixes windoors * this time for realsies passes * i promise now it does * fixes tgui + add boulder
Docker-Compose Test Server
This is a directory made for easily spinning up a /tg/station server using Docker-Compose. Also with some tweaks done to read environment variables, like database config and ranks.
How to use this?
Prerequisites:
- Docker and
docker-composeinstalled - Text editor
- Basic knowledge about the CLI and containers
Quickstart:
- Open a terminal (bash,powershell,cmd,whatever)
- Clone the /tg/station repository ( CLI:
git clone https://github.com/tgstation/tgstation) - Enter this directory (
cd tgstation/tools/DockerTestServer) - Make a copy of the
example.envfile and call it.env(cp example.env .env) - Edit the values in
.env(the content and commented out sections, seriously, read it) - When all and dandy, start the server by doing
docker-compose up
After this, you should be able to connect over to your server by opening BYOND and joining your game with an URL that looks like this byond://localhost:1337 or if you are hosting this on another device byond://192.168.1.25:1337 or whatever that device's IP or domain is.
Turning off the server:
Same directory as before in the terminal, try docker-compose down
This should turn it off until the next time you turn it on using docker-compose up
Overriding configuration files
Since you might need to tweak game_options.txt or any other file in the /config folder.
This setup allows you to slap those files right into the ./gamecfg folder for overriding files. Just copy the file you want to override into this directory and the entrypoint.sh should apply it during start-up!
Remember to properly take down the container ( docker-compose down ) if you have issues with recent changes not syncronizing after restart.