answer/configs/config.yaml

20 lines
361 B
YAML
Raw Normal View History

2022-09-28 10:53:09 +08:00
server:
http:
2022-09-28 16:24:33 +08:00
addr: 0.0.0.0:80
2022-09-28 10:53:09 +08:00
data:
database:
2022-09-28 16:24:33 +08:00
connection: root:root@tcp(127.0.0.1:3306)/answer
2022-09-28 10:53:09 +08:00
cache:
2022-09-28 16:24:33 +08:00
file_path: "/tmp/cache/cache.db"
2022-09-28 10:53:09 +08:00
i18n:
2022-09-28 16:24:33 +08:00
bundle_dir: "/data/i18n"
2022-09-28 10:53:09 +08:00
swaggerui:
2022-09-28 16:24:33 +08:00
show: false
2022-09-28 10:53:09 +08:00
protocol: http
2022-09-28 16:24:33 +08:00
host: 127.0.0.1
address: ':80'
2022-09-28 10:53:09 +08:00
service_config:
2022-09-28 16:24:33 +08:00
secret_key: "answer"
web_host: "http://127.0.0.1"
upload_path: "./upfiles"