23 lines
392 B
YAML
23 lines
392 B
YAML
server:
|
|
port: 8080
|
|
mode: debug # debug, release, test
|
|
|
|
database:
|
|
host: localhost
|
|
port: 3306
|
|
user: root
|
|
password: 123456
|
|
dbname: exam_registration
|
|
charset: utf8mb4
|
|
max_idle_conns: 10
|
|
max_open_conns: 100
|
|
conn_max_lifetime: 3600
|
|
|
|
jwt:
|
|
secret: exam_registration_secret_key_2024
|
|
expire: 86400 # 24 hours in seconds
|
|
|
|
upload:
|
|
path: uploads
|
|
max_size: 10485760 # 10MB
|