forked from zhang-jian-jun/app-pkgmanage
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.ini
More file actions
93 lines (70 loc) · 2.55 KB
/
package.ini
File metadata and controls
93 lines (70 loc) · 2.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# ******************************************************************************
# Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved.
# licensed under the Mulan PSL v2.
# You can use this software according to the terms and conditions of the Mulan PSL v2.
# You may obtain a copy of Mulan PSL v2 at:
# http://license.coscl.org.cn/MulanPSL2
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
# PURPOSE.
# See the Mulan PSL v2 for more details.
# ******************************************************************************/
[SYSTEM]
; Configuration file path for data initialization
init_conf_path=/etc/pkgship/conf.yaml
; Ordinary user query port, only the right to query data, no permission to write data
query_port=8090
; IP address path with permission to query data
query_ip_addr=127.0.0.1
; The address of the remote service, the command line can directly
; call the remote service to complete the data request
remote_host=https://pkgmanage.openeuler.org
; A temporary directory for files downloaded from the network that are cleaned periodically
; The recommended free space in this dir is 1G
temporary_directory=/opt/pkgship/tmp/
[LOG]
; Custom log storage path
log_path=/var/log/pkgship/
; Logging level
; The log level option value can only be as follows
; INFO DEBUG WARNING ERROR CRITICAL
log_level=INFO
; Maximum capacity of each file, the unit is byte, default is 30M
max_bytes=31457280
; Number of old logs to keep;default is 30
backup_count=30
[UWSGI]
; Operation log storage path
daemonize=/var/log/pkgship-operation/uwsgi.log
; The data size transferred from back to forth
buffer-size=65536
; HTTP Connection time
http-timeout=600
; Server response time
harakiri=600
[REDIS]
;The address of the Redis cache server can be either a published
;domain or an IP address that can be accessed normally
;The link address defaults to 127.0.0.1
redis_host=127.0.0.1
;Redis cache server link port number, default is 6379
redis_port=6379
;Maximum number of connections allowed by RedIS server at one time
redis_max_connections=10
[DATABASE]
;The database engines supported in the system is sqlite database by default
database_engine_type=elastic
;Default ip address of database
database_host=127.0.0.1
;Default port of database
database_port=9200
[PANEL]
;obs base path
obs_host=http://117.78.1.88/
;obs user name
;obs_account=
;obs user password
;obs_password=
; gitee token
;git_token=
panel_port=8091