20 lines
361 B
YAML
Executable File
20 lines
361 B
YAML
Executable File
# configs/config.yaml
|
|
server:
|
|
port: 8080
|
|
mode: "debug"
|
|
read_timeout: 30
|
|
write_timeout: 30
|
|
|
|
database:
|
|
host: "mysql"
|
|
port: 3306
|
|
user: "root"
|
|
password: "password"
|
|
dbname: "myapp"
|
|
max_open_conns: 100
|
|
max_idle_conns: 10
|
|
reset_database: false
|
|
|
|
jwt:
|
|
secret: "2Jkh4BdL6TVURttUEXlMeyD7rCLCkVvwdzPnddEIBRs="
|
|
expire_hours: 24 |