simpleadmin-web 0.1.0: web panel for CS2-SimpleAdmin
This commit is contained in:
commit
4f38daf0e6
31 changed files with 6870 additions and 0 deletions
30
example.env
Normal file
30
example.env
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# Copy to simpleadmin-web.env and fill in. Never commit the real file.
|
||||
|
||||
# Where people reach the panel. Steam sends signed-in users back here, so it must match exactly.
|
||||
SAW_BASE_URL=https://bans.example.com
|
||||
# At least 32 random characters: openssl rand -hex 32. Changing it signs everyone out.
|
||||
SAW_SESSION_SECRET=
|
||||
|
||||
# SimpleAdmin's config file. The panel reads the database login from it, and edits the
|
||||
# Punishments settings in it. Mount it read-only to turn editing off.
|
||||
SAW_SA_CONFIG=/data/CS2-SimpleAdmin.json
|
||||
# Or give the database directly instead (then SAW_SA_CONFIG is optional):
|
||||
# SAW_DB_DSN=user:password@tcp(db-host:3306)/simpleadmin
|
||||
# If the host in SimpleAdmin's config isn't reachable from the panel (e.g. a container name):
|
||||
# SAW_DB_HOST=127.0.0.1:3306
|
||||
|
||||
# RCON. By default the address and password come from SimpleAdmin's sa_servers table.
|
||||
# SAW_RCON_ADDR=127.0.0.1:27015
|
||||
# SAW_RCON_PASSWORD=
|
||||
# Needed only if sa_servers lists more than one server.
|
||||
# SAW_SERVER_ID=1
|
||||
|
||||
# The address shown under "Join server" on the public page. Defaults to sa_servers.address.
|
||||
# SAW_JOIN_ADDRESS=cs2.example.com:27015
|
||||
|
||||
# Rank labels, colours and public descriptions. Built-in defaults cover the #rank/* groups.
|
||||
# SAW_SITE_CONFIG=/data/site.json
|
||||
|
||||
# SAW_LISTEN=:8080
|
||||
# SAW_POLL_SECONDS=5
|
||||
# SAW_TIMEZONE=UTC (defaults to SimpleAdmin's Timezone setting)
|
||||
Loading…
Add table
Add a link
Reference in a new issue