-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.yaml
36 lines (36 loc) · 920 Bytes
/
conf.yaml
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
storage_dir: /tmp/tweb/tweb_storage
# add endpoints of the tweb frontend to avoid CROS issue.
cros_allow_origins: [http://localhost:3030]
# Web配置
web:
port: 8888
write_timeout_sec: 10
read_timeout_sec: 10
read_header_timeout_sec: 10
idle_timeout_sec: 10
shutdown_wait_sec: 10
# 数据库配置
db:
host: localhost
port: 5432
username: tweb_test
password: tweb_test
database: tweb_db
reconnect_sec: 3
# 是否初始化数据库表,初次启动请设置成true, 会清空所有数据。
reset: false
# 是否创建超管账号,初次启动请设置成true
create_admin: false
# 超管账号配置
admin:
username: admin
password: admin
# 备案信息
record:
code: ${RECORD_CODE}
url: ${RECORD_URL}
minio:
access_key: AKIAIOSFODNN7EXAMPLE
secret_key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
endpoint: localhost:9000
secure: false