-
Notifications
You must be signed in to change notification settings - Fork 444
/
Kconfig
66 lines (60 loc) · 1.73 KB
/
Kconfig
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
menu "Deploy (部署)"
choice
prompt "Method (部署方式)"
config DOCKER_COMPOSE_DEPLOY
bool "docker-compose deploy (docker-compose部署)"
config K8S_DEPLOY
bool "kubernetes deploy (kubernetes 部署)"
endchoice
choice
prompt "Mode (部署模式)"
config DEV_MODE
bool "dev-mode(开发模式)"
config PROD_MODE
bool "prod-mode(生产模式)"
endchoice
endmenu
menu "API Server Config (API服务配置)"
config API_ENGINE_WEBROOT
string "WEBROOT (服务根路径)"
default "/engine"
config POSTGRES_USER
string "POSTGRES_USER (数据库用户名)"
default "admin"
config POSTGRES_PASSWORD
string "POSTGRES_PASSWORD (数据库密码)"
default "password"
config API_ENGINE_SERVICE_PORT
int "Service Port (服务端口)"
default 8085
range 8000 10000
config API_ENGINE_ADMIN_TOKEN
string "Admin Token(管理员Token)"
default "administrator"
config API_ENGINE_ADMIN_USERNAME
string "Admin Username (管理员用户名)"
default "admin"
config API_ENGINE_ADMIN_PASSWORD
string "Admin Password (管理员密码)"
default "pass"
config API_ENGINE_ADMIN_EMAIL
string "Admin email (管理员邮箱)"
default "admin@cello.com"
config API_DOCKER_HOST
string "Docker Host(Docker主机)"
default "unix://var/run/docker.sock"
config API_VERSION
string "Version (接口版本)"
default "master"
endmenu
menu "Dashboard Config (控制台服务配置)"
config MOCK
bool "Whether mock api (是否采用假数据)"
default y
config PROXY
string "API Proxy (API代理)"
config DASHBOARD_SERVICE_PORT
int "Dashboard Service Port (控制台服务端口)"
default 8081
range 8000 10000
endmenu