answer/configs/config.yaml

21 lines
381 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:
driver: "sqlite3"
connection: "/data/sqlite3/answer.db"
2022-09-28 10:53:09 +08:00
cache:
file_path: "/data/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 17:33:48 +08:00
show: true
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:9080"
2022-09-30 17:50:57 +08:00
upload_path: "/data/upfiles"