mirror of
https://codeberg.org/spire/docker-spire-server.git
synced 2026-06-03 14:24:08 +02:00
add demostf api key argument
This commit is contained in:
parent
e6a1a11ab6
commit
0ec3bf9e6b
2 changed files with 3 additions and 1 deletions
|
|
@ -16,4 +16,5 @@ docker pull spiretf/docker-spire-server
|
|||
| WEBRCON\_PASSWORD | The webrcon password | $RCON\_PASSWORD |
|
||||
| CONFIG | The server config to execute | etf2l_6v6_5cp |
|
||||
| MAP | The map to start the server on | cp_badlands |
|
||||
| LOGSTF_APIKEY | Api key for logs.tf | |
|
||||
| LOGSTF_APIKEY | Api key for logs.tf | |
|
||||
| DEMOSTF_APIKEY | Api key for demos.tf | |
|
||||
1
tf.sh
1
tf.sh
|
|
@ -8,6 +8,7 @@ echo "hostname \"${NAME:-"Spire Server"}\"" >> $CFG
|
|||
echo "sv_password \"${PASSWORD:-password}\"" >> $CFG
|
||||
echo "rcon_password \"${RCON_PASSWORD:-rcon}\"" >> $CFG
|
||||
echo "sm_webrcon_key \"${WEBRCON_PASSWORD:-${RCON_PASSWORD:-rcon}}\"" >> $CFG
|
||||
echo "sm_demostf_apikey \"${DEMOSTF_APIKEY}\"" >> $CFG
|
||||
echo "logstf_apikey \"${LOGSTF_APIKEY}\"" >> $CFG
|
||||
echo "exec ${CONFIG:-etf2l_6v6_5cp}" >> $CFG
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue