45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
# Licensed to the Apache Software Foundation (ASF) under one
|
|
# or more contributor license agreements. See the NOTICE file
|
|
# distributed with this work for additional information
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
# to you under the Apache License, Version 2.0 (the
|
|
# "License"); you may not use this file except in compliance
|
|
# with the License. You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing,
|
|
# software distributed under the License is distributed on an
|
|
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
# KIND, either express or implied. See the License for the
|
|
# specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
server:
|
|
http:
|
|
addr: 0.0.0.0:80
|
|
data:
|
|
database:
|
|
driver: "sqlite3"
|
|
connection: "/data/sqlite3/answer.db"
|
|
cache:
|
|
file_path: "/data/cache/cache.db"
|
|
i18n:
|
|
bundle_dir: "/data/i18n"
|
|
swaggerui:
|
|
show: true
|
|
protocol: http
|
|
host: 127.0.0.1
|
|
address: ':80'
|
|
service_config:
|
|
upload_path: "/data/uploads"
|
|
clean_up_uploads: true
|
|
clean_orphan_uploads_period_hours: 48
|
|
purge_deleted_files_period_days: 30
|
|
ui:
|
|
public_url: '/'
|
|
api_url: '/'
|
|
base_url: ''
|
|
api_base_url: ''
|
|
|