mirror of https://gitee.com/answerdev/answer.git
21 lines
377 B
YAML
21 lines
377 B
YAML
server:
|
|
http:
|
|
addr: 0.0.0.0:80
|
|
data:
|
|
database:
|
|
driver: "mysql"
|
|
connection: root:root@tcp(db:3306)/answer
|
|
cache:
|
|
file_path: "/tmp/cache/cache.db"
|
|
i18n:
|
|
bundle_dir: "/data/i18n"
|
|
swaggerui:
|
|
show: true
|
|
protocol: http
|
|
host: 127.0.0.1
|
|
address: ':80'
|
|
service_config:
|
|
secret_key: "answer"
|
|
web_host: "http://127.0.0.1"
|
|
upload_path: "/data/upfiles"
|