34 lines
755 B
TOML
34 lines
755 B
TOML
[WebServerConfig]
|
|
server_name = "NegosiumServer-Test"
|
|
port = 9301
|
|
process_count = 1
|
|
is_ssl = false
|
|
is_test = true
|
|
|
|
[LogConfig]
|
|
print_console = true
|
|
log_level = "debug"
|
|
|
|
# 테스트는 단일 postgres 의 negosium_db 를 사용한다.
|
|
# pytest 가 tbl_account 를 TRUNCATE 로 비워 격리하므로, 운영 데이터가 있다면 주의.
|
|
[MainDBConfig]
|
|
db_type = "postgresql"
|
|
name = "negosium_db"
|
|
write_host = "127.0.0.1"
|
|
write_port = 5432
|
|
write_id = "postgres"
|
|
write_pw = "password"
|
|
read_host = "127.0.0.1"
|
|
read_port = 5432
|
|
read_id = "postgres"
|
|
read_pw = "password"
|
|
show_log = false
|
|
pool_size = 100
|
|
max_overflow = 200
|
|
|
|
[JwtToken]
|
|
access_key = "test_access_secret_key"
|
|
refresh_key = "test_refresh_secret_key"
|
|
access_expire_min = 30
|
|
refresh_expire_day = 7
|