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-10-12 17:12:17 +08:00
|
|
|
driver: "mysql"
|
2022-09-29 21:08:00 +08:00
|
|
|
connection: root:root@tcp(db: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 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"
|
2022-10-13 17:36:50 +08:00
|
|
|
web_host: "http://127.0.0.1:9080"
|
2022-09-30 17:50:57 +08:00
|
|
|
upload_path: "/data/upfiles"
|