mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
修改配置中心默认配置地址,mysql添加普通用户
This commit is contained in:
parent
91bcca21f6
commit
5fa30be7c6
@ -5,6 +5,7 @@ services:
|
|||||||
container_name: mysql
|
container_name: mysql
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
|
- MYSQL_USER=${MYSQL_USER:-cskefu}
|
||||||
- MYSQL_PASSWORD=${MYSQL_PASSWORD:-123456}
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD:-123456}
|
||||||
- MYSQL_ROOT_PASSWORD=${MYSQL_PASSWORD:-123456}
|
- MYSQL_ROOT_PASSWORD=${MYSQL_PASSWORD:-123456}
|
||||||
ports:
|
ports:
|
||||||
|
@ -215,21 +215,21 @@ INSERT INTO his_config_info (id, nid, data_id, group_id, app_name, content, md5,
|
|||||||
"cloud": {
|
"cloud": {
|
||||||
"nacos": {
|
"nacos": {
|
||||||
"discovery": {
|
"discovery": {
|
||||||
"server-addr": "localhost:8848"
|
"server-addr": "nacos:8848"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"datasource": {
|
"datasource": {
|
||||||
"driver-class-name": "com.mysql.cj.jdbc.Driver",
|
"driver-class-name": "com.mysql.cj.jdbc.Driver",
|
||||||
"password": 123456,
|
"password": 123456,
|
||||||
"url": "jdbc:mysql://localhost:3306/cskefu?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2B8",
|
"url": "jdbc:mysql://mysql:3306/cskefu?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2B8",
|
||||||
"username": "root"
|
"username": "root"
|
||||||
},
|
},
|
||||||
"mvc": {
|
"mvc": {
|
||||||
"static-path-pattern": "/smart-doc/**"
|
"static-path-pattern": "/smart-doc/**"
|
||||||
},
|
},
|
||||||
"rabbitmq": {
|
"rabbitmq": {
|
||||||
"addresses": "127.0.0.1",
|
"addresses": "rabbitmq",
|
||||||
"listener": {
|
"listener": {
|
||||||
"simple": {
|
"simple": {
|
||||||
"acknowledge-mode": "manual",
|
"acknowledge-mode": "manual",
|
||||||
@ -263,7 +263,16 @@ INSERT INTO his_config_info (id, nid, data_id, group_id, app_name, content, md5,
|
|||||||
|
|
||||||
}', 'f309d0a46b7f7d41270b5684c31acd11', '2023-10-16 08:39:43', '2023-10-16 08:39:44', null, '172.20.0.1', 'I', 'cskefu', '');
|
}', 'f309d0a46b7f7d41270b5684c31acd11', '2023-10-16 08:39:43', '2023-10-16 08:39:44', null, '172.20.0.1', 'I', 'cskefu', '');
|
||||||
INSERT INTO his_config_info (id, nid, data_id, group_id, app_name, content, md5, gmt_create, gmt_modified, src_user, src_ip, op_type, tenant_id, encrypted_data_key) VALUES (0, 4, 'cskefu-web-gateway.json', 'cskefu-default', '', '{
|
INSERT INTO his_config_info (id, nid, data_id, group_id, app_name, content, md5, gmt_create, gmt_modified, src_user, src_ip, op_type, tenant_id, encrypted_data_key) VALUES (0, 4, 'cskefu-web-gateway.json', 'cskefu-default', '', '{
|
||||||
|
"spring": {
|
||||||
|
"cloud": {
|
||||||
|
"sentinel": {
|
||||||
|
"transport": {
|
||||||
|
"dashboard": "sentinel-dashboard:9850",
|
||||||
|
"port": 9851
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}', 'f309d0a46b7f7d41270b5684c31acd11', '2023-10-16 08:39:57', '2023-10-16 08:39:58', null, '172.20.0.1', 'I', 'cskefu', '');
|
}', 'f309d0a46b7f7d41270b5684c31acd11', '2023-10-16 08:39:57', '2023-10-16 08:39:58', null, '172.20.0.1', 'I', 'cskefu', '');
|
||||||
INSERT INTO his_config_info (id, nid, data_id, group_id, app_name, content, md5, gmt_create, gmt_modified, src_user, src_ip, op_type, tenant_id, encrypted_data_key) VALUES (0, 5, 'cskefu-manager-service.json', 'cskefu-default', '', '{
|
INSERT INTO his_config_info (id, nid, data_id, group_id, app_name, content, md5, gmt_create, gmt_modified, src_user, src_ip, op_type, tenant_id, encrypted_data_key) VALUES (0, 5, 'cskefu-manager-service.json', 'cskefu-default', '', '{
|
||||||
|
|
||||||
@ -280,21 +289,21 @@ INSERT INTO config_info (id, data_id, group_id, content, md5, gmt_create, gmt_mo
|
|||||||
"cloud": {
|
"cloud": {
|
||||||
"nacos": {
|
"nacos": {
|
||||||
"discovery": {
|
"discovery": {
|
||||||
"server-addr": "localhost:8848"
|
"server-addr": "nacos:8848"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"datasource": {
|
"datasource": {
|
||||||
"driver-class-name": "com.mysql.cj.jdbc.Driver",
|
"driver-class-name": "com.mysql.cj.jdbc.Driver",
|
||||||
"password": 123456,
|
"password": 123456,
|
||||||
"url": "jdbc:mysql://localhost:3306/cskefu?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2B8",
|
"url": "jdbc:mysql://mysql:3306/cskefu?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2B8",
|
||||||
"username": "root"
|
"username": "root"
|
||||||
},
|
},
|
||||||
"mvc": {
|
"mvc": {
|
||||||
"static-path-pattern": "/smart-doc/**"
|
"static-path-pattern": "/smart-doc/**"
|
||||||
},
|
},
|
||||||
"rabbitmq": {
|
"rabbitmq": {
|
||||||
"addresses": "127.0.0.1",
|
"addresses": "rabbitmq",
|
||||||
"listener": {
|
"listener": {
|
||||||
"simple": {
|
"simple": {
|
||||||
"acknowledge-mode": "manual",
|
"acknowledge-mode": "manual",
|
||||||
@ -328,7 +337,16 @@ INSERT INTO config_info (id, data_id, group_id, content, md5, gmt_create, gmt_mo
|
|||||||
|
|
||||||
}', 'f309d0a46b7f7d41270b5684c31acd11', '2023-10-16 08:39:44', '2023-10-16 08:39:44', null, '172.20.0.1', '', 'cskefu', null, null, null, 'json', null, '');
|
}', 'f309d0a46b7f7d41270b5684c31acd11', '2023-10-16 08:39:44', '2023-10-16 08:39:44', null, '172.20.0.1', '', 'cskefu', null, null, null, 'json', null, '');
|
||||||
INSERT INTO config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (8, 'cskefu-web-gateway.json', 'cskefu-default', '{
|
INSERT INTO config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (8, 'cskefu-web-gateway.json', 'cskefu-default', '{
|
||||||
|
"spring": {
|
||||||
|
"cloud": {
|
||||||
|
"sentinel": {
|
||||||
|
"transport": {
|
||||||
|
"dashboard": "sentinel-dashboard:9850",
|
||||||
|
"port": 9851
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}', 'f309d0a46b7f7d41270b5684c31acd11', '2023-10-16 08:39:58', '2023-10-16 08:39:58', null, '172.20.0.1', '', 'cskefu', null, null, null, 'json', null, '');
|
}', 'f309d0a46b7f7d41270b5684c31acd11', '2023-10-16 08:39:58', '2023-10-16 08:39:58', null, '172.20.0.1', '', 'cskefu', null, null, null, 'json', null, '');
|
||||||
INSERT INTO config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (9, 'cskefu-manager-service.json', 'cskefu-default', '{
|
INSERT INTO config_info (id, data_id, group_id, content, md5, gmt_create, gmt_modified, src_user, src_ip, app_name, tenant_id, c_desc, c_use, effect, type, c_schema, encrypted_data_key) VALUES (9, 'cskefu-manager-service.json', 'cskefu-default', '{
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ NACOS_CLIENT_GRPC_PORT=9848
|
|||||||
NACOS_SERVER_GRPC_PORT=9849
|
NACOS_SERVER_GRPC_PORT=9849
|
||||||
|
|
||||||
MYSQL_PORT=3306
|
MYSQL_PORT=3306
|
||||||
MYSQL_USER=root
|
MYSQL_USER=cskefu
|
||||||
MYSQL_PASSWORD=123456
|
MYSQL_PASSWORD=123456
|
||||||
|
|
||||||
## chatbot
|
## chatbot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user