-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env
More file actions
37 lines (29 loc) · 863 Bytes
/
.env
File metadata and controls
37 lines (29 loc) · 863 Bytes
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
SYSTEM_VERSION="0.5.0"
SYSTEM_CHANGELOG_PATH="./CHANGELOG.md"
# server config
SERVER_LISTEN_IP="0.0.0.0"
SERVER_LISTEN_PORT=9090
DATABASE_URL="postgres://postgres:postgres@db:5432/floatctf_db"
RUST_LOG="actix_server=info,floatctf=info,fcmc=info"
SECRET="guess_the_secret_key_5533609978"
# challenge and event
INSTANCE_MAX_PER_USER=2
INSTANCE_DESTROY_DELAY=60
EVENT_SCORE_DECAY=500
NODE_IP="127.0.0.1"
HTTP_PREFIX="http://"
# 需全部与WORD_DIR相对路径,或者全局绝对路径
LOG_DIR="/app/logs/api"
UPLOAD_DIR="/app/api/uploads"
CHALLENGES_DIR="/app/api/challenges"
WEAPONS_DIR="/app/api/weapons"
IMAGES_DIR="/app/api/images"
# 时区
TZ=Asia/Shanghai
# rustfs
RUSTFS_ENDPOINT_URL="http://192.168.97.4:9000"
RUSTFS_ACCESS_KEY_ID="rustfsadmin"
RUSTFS_SECRET_ACCESS_KEY="rustfsadmin"
RUSTFS_REGION="cn-east-1"
# Web Terminal
ENABLE_WEB_TERMINAL=1