mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
* Add a simple docker-compose setup into tools (#66932) About The Pull Request Because I noticed overtime that I kept using my docker-compose.yml setup for spinning up small servers to try features on or mess around on in general. I thought I'd polish it a bit and add it into the tools/ directory for others to use as well. Not sure if it will be useful for anyone other than myself but hey! Might as well share this. Please note, this is my first PR, feel free to give critique where critique is due. Or let me know if this is an absolute dogshit PR, that is welcome too, go wild. Note: Priority of overrides is as following (1 taking highest priority and the rest is lower priority) Environment variable overrides Override files in the gamecfg/ folder Default configuration found under /config Why It's Good For The Game Mainly good for developers or people who want to spin up their own server to try stuff on, I was personally missing something like this in the repository and think others might be able to use it to rapidly spin up their own server in a container using the provided Dockerfile in the main repository. * Add a simple docker-compose setup into tools Co-authored-by: Melli <75690100+mel-byond@users.noreply.github.com>
40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Environment file
|
|
# ================
|
|
|
|
######## Ranks ########
|
|
# CKEY Rank definition, here is the place to define your rank as a host
|
|
# or multiple CKEYS with a rank!
|
|
# Incase you want to define multiple CKEYS, split using a comma (,)
|
|
# Note: List users here to be made admins with the format:
|
|
# ckey = rank name.
|
|
|
|
# Example given:
|
|
#CKEYRANKS="StackerRobot = Host,Hyeanid = Game Master"
|
|
|
|
CKEYRANKS="SomeUsername = Host"
|
|
|
|
######## Database setup ########
|
|
# No need to uncomment this unless you have an external database running,
|
|
# the defaults for this should be set within the entrypoint.sh
|
|
#DB_HOST=db
|
|
#DB_USER=gamelord
|
|
#DB_PASS=gamelord
|
|
|
|
######## Dynamic Options ########
|
|
|
|
### Game options
|
|
# Here is where the /config/game_options.txt overrides happen
|
|
# this is done dynamically, meaning that you can take any of the Options
|
|
# in game_options.txt, prefix it with 'TG_GAME_' and it should override
|
|
# or comment out the options in that file during runtime
|
|
|
|
# How to use:
|
|
# To comment out an option do 'TG_GAME_<OPTION>=#'
|
|
# To uncomment an option do 'TG_GAME_<OPTION>='
|
|
# To enter a value with an option do 'TG_GAME_<OPTION>=value'
|
|
|
|
# Example:
|
|
#TG_GAME_EMOJIS=#
|
|
#TG_GAME_RUN_DELAY=1.2
|
|
#TG_GAME_WALK_DELAY=3
|
|
#TG_GAME_REOPEN_ROUNDSTART_SUICIDE_ROLES_COMMAND_REPORT= |