-
Notifications
You must be signed in to change notification settings - Fork 4
/
.env
128 lines (112 loc) · 3.3 KB
/
.env
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# .env 文件中定义的变量会自动加载到Docker-compose 项目中,并且可以在docker-compose 文件中使用
# 项目配置
DEFAULT_COOKIE_SECRET="r61oETzKXQAGaYdkL5gEmGeJJFuYh7EQnp2X6TP1"
DEFAULT_TOKEN_SECRET="erxXZnJYJkcDyFuJBU%8UX66EP!hsnRGvDeeKHyC9ebf"
DEFAULT_SWORD_SECRET="iYX3VtB0gSRH32AIKbn1HKgcAxLBxdRqRz7FLU_3_tQ="
CODO_API_GW="http://172.22.0.6:8888"
CODO_AUTH_KEY=""
# MySQL统一配置
MYSQL_ROOT_PASSWORD=ss1917
DEFAULT_DB_DBHOST=172.22.0.2
DEFAULT_DB_DBPORT=3306
DEFAULT_DB_DBUSER=codo
DEFAULT_DB_DBPWD=ss1917
READONLY_DB_DBHOST=172.22.0.2
READONLY_DB_DBPORT=3306
READONLY_DB_DBUSER=codo
READONLY_DB_DBPWD=ss1917
# Redis统一配置
DEFAULT_REDIS_HOST=172.22.0.3
DEFAULT_REDIS_PORT=6379
DEFAULT_REDIS_AUTH=ture
DFAULT_REDIS_CHARSET=utf-8
DEFAULT_REDIS_PASSWORD=ss1917
DEFAULT_REDIS_USER=''
# ETCD统一配置
DEFAULT_ETCD_HOST=172.22.0.5
DEFAULT_ETCD_PORT=2379
DEFAULT_ETCD_PROTOCOL=http
DEFAULT_ETCD_USER=
DEFAULT_ETCD_PWD=ss1917
DEFAULT_ETCD_PREFIX=/codo/gw/
# RabbitMQ统一配置
DEFAULT_MQ_SCHEMA=amqp
DEFAULT_MQ_ADDR=172.22.0.4
DEFAULT_MQ_PORT=5672
DEFAULT_MQ_VHOST=codo
DEFAULT_MQ_USER=codo
DEFAULT_MQ_PWD=eYEhUKJMyJ&8R3qJjf
DEFAULT_MQ_ENABLED=yes
RABBITMQ_DEFAULT_USER=admin
RABBITMQ_DEFAULT_PASS=WzAGv2etxp&v528zJjSK
RABBITMQ_VHOST=codo
RABBITMQ_USER=codo
RABBITMQ_PASS=eYEhUKJMyJ&8R3qJjf
RABBITMQ_USER_PERMISSIONS=.* .* .*
AGENT_MQ_ADDR=172.22.0.4
AGENT_MQ_PORT=5672
AGENT_MQ_VHOST=codo
AGENT_MQ_USER=codo
AGENT_MQ_PWD=eYEhUKJMyJ&8R3qJjf
# codo-admin配置
CODO_ADMIN_DEFAULT_DB_DBUSER=codo-admin
CODO_ADMIN_DEFAULT_DB_DBPWD=ss1917
CODO_ADMIN_DEFAULT_DB_DBNAME=codo-admin
CODO_ADMIN_DEFAULT_REDIS_DB=7
# codo-cmdb配置
CODO_CMDB_DEFAULT_DB_DBUSER=codo-cmdb
CODO_CMDB_DEFAULT_DB_DBPWD=ss1917
CODO_CMDB_DEFAULT_DB_DBNAME=codo-cmdb
CODO_CMDB_DEFAULT_REDIS_DB=8
# codo-flow配置
CODO_FLOW_DEFAULT_DB_DBUSER=codo-flow
CODO_FLOW_DEFAULT_DB_DBPWD=ss1917
CODO_FLOW_DEFAULT_DB_DBNAME=codo-flow
CODO_FLOW_DEFAULT_REDIS_DB=9
# codo-gateway配置
CODO_GATEWAY_DEFAULT_API_TOKEN=e09d6153f1c15395144794GtmAhR
# codo-kerrigan配置
CODO_KERRIGAN_DEFAULT_DB_DBUSER=codo-kerrigan
CODO_KERRIGAN_DEFAULT_DB_DBPWD=ss1917
CODO_KERRIGAN_DEFAULT_DB_DBNAME=codo-kerrigan
# codo-agent配置
CODO_AGENT_DB_DBUSER=codo-agent-server
CODO_AGENT_DB_DBPWD=ss1917
CODO_AGENT_DB_DBNAME=codo-agent-server
DEFAULT_DB_TABLE_PREFIX=codo
CODO_AGENT_REDIS_DB=10
DEFAULT_PUBLISH_REDIS_HOST=127.0.0.1
DEFAULT_PUBLISH_REDIS_ENABLE=no
DEFAULT_PUBLISH_REDIS_PORT=6379
DEFAULT_PUBLISH_REDIS_PASSWORD=ss1917
DEFAULT_PUBLISH_REDIS_DB=11
# codo-cnmp配置
CODO_CNMP_APP_NAME=codo-cnmp
CODO_CNMP_APP_ENV=DEV
CODO_CNMP_APP_ADDR=0.0.0.0:8000
CODO_CNMP_APP_VERSION=v1.0.0
CODO_CNMP_APP_SECRET=e3b0c44298fc1c16 # 16位随机字符串
# Prometheus
DEFAULT_PROMETHEUS_ENABLE=true
DEFAULT_PROMETHEUS_NETWORK=tcp
DEFAULT_PROMETHEUS_ADDR=0.0.0.0:9091
DEFAULT_PROMETHEUS_PATH=/metrics
# PProf
DEFAULT_PPROF_ENABLE=true
DEFAULT_PPROF_NETWORK=tcp
DEFAULT_PPROF_ADDR=0.0.0.0:6060
# database
CODO_CNMP_DB_NAME=codo-cnmp
# Otel
DEFAULT_OTEL_TRACE_ENDPOINT=http://jaeger-xingyun-collector.tracing.svc.cluster.local:14268/api/traces
DEFAULT_OTEL_TRACE_INSECURE=true
DEFAULT_OTEL_METRIC_ENABLE_EXEMPLAR=true
DEFAULT_OTEL_LOG_LEVEL=INFO
# Redis
CODO_CNMP_REDIS_DB=1
# Websocket
CODO_CNMP_WS_ADDR=0.0.0.0:9999
# granafa
DEFAULT_GRAFANA_ADDR=
DEFAULT_GRAFANA_USER=
DEFAULT_GRAFANA_PASSWORD=