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