-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.sample
43 lines (29 loc) · 1.37 KB
/
.env.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## Rename this file to `.env` so it takes effect in your environment
## Note that `.env` is ignored in source control
## Uncomment and change any of the variables if you need to
## Which port to use for this server
# PORT=8080
## What hostname to use
# HOST=
## Your TLS certificate path (=> `fullchain.pem` created by certbot)
# CERT_PATH=
## The Telegram bot token wich will sending turn notices
# BOT_TOKEN=
## Telegram group chat id where bot will send game results
# BOT_GROUP_CHAT_ID=
## How many milliseconds need between same player turn for send him telegram notice (for avoid sending pushes after every player action at least)
# ACTION_TIME_DIFF_MS=10000
## Your TLS private key path (=> `privkey.pem` created by certbot)
# KEY_PATH=
## How many days to keep unfinished games before deleting them
# MAX_GAME_DAYS=
## How many milliseconds to check for game update on multi-player games
# WAITING_FOR_TIMEOUT=5000
## How many seconds should assets (fonts, stylesheets, images) be cached by browsers
# ASSET_CACHE_MAX_AGE=0
## (defailt random) Static pass phrase to restrict access to /games-overview and /api/games endpoints
# SERVER_ID=
## When non-empty, stores game states in JSON files. Good for local development and debugging, bad for hosting lots of games.
# LOCAL_FS_DB=
## Specifies the number of lines of history to be shown in the game log (default 50)
# LOG_LENGTH=