Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
roncoo
roncoo-education
提交
b925d344
R
roncoo-education
项目概览
roncoo
/
roncoo-education
9 个月 前同步成功
通知
146
Star
5
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
1
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roncoo-education
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
1
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b925d344
编写于
12月 30, 2023
作者:
F
fengyw
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 修改默认端口,方便记忆
上级
fa95fc4b
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
19 addition
and
19 deletion
+19
-19
DOCKER.md
DOCKER.md
+4
-4
docker-compose.yml
docker-compose.yml
+4
-4
roncoo-education-gateway/src/main/java/com/roncoo/education/gateway/IndexController.java
...in/java/com/roncoo/education/gateway/IndexController.java
+1
-1
roncoo-education-gateway/src/main/resources/bootstrap.properties
...education-gateway/src/main/resources/bootstrap.properties
+1
-1
roncoo-education-service/roncoo-education-service-course/src/main/resources/bootstrap.properties
...on-service-course/src/main/resources/bootstrap.properties
+1
-1
roncoo-education-service/roncoo-education-service-system/src/main/resources/bootstrap.properties
...on-service-system/src/main/resources/bootstrap.properties
+1
-1
roncoo-education-service/roncoo-education-service-user/src/main/resources/bootstrap.properties
...tion-service-user/src/main/resources/bootstrap.properties
+1
-1
roncoo-job/distribution/conf/application.properties
roncoo-job/distribution/conf/application.properties
+3
-3
roncoo-job/src/main/resources/application.properties
roncoo-job/src/main/resources/application.properties
+3
-3
未找到文件。
DOCKER.md
浏览文件 @
b925d344
#### 端口设置
| service | port |
|----------------------------------|------|
| roncoo-education-gateway |
818
0 |
| roncoo-education-system |
8184
|
| roncoo-education-user |
8186
|
| roncoo-education-course |
8188
|
| roncoo-education-gateway |
770
0 |
| roncoo-education-system |
7710
|
| roncoo-education-user |
7720
|
| roncoo-education-course |
7730
|
-------------------------------------------------------
#### 如何进行docker部署
...
...
docker-compose.yml
浏览文件 @
b925d344
...
...
@@ -14,7 +14,7 @@ services:
networks
:
-
education
ports
:
-
"
8180:818
0"
-
"
7700:770
0"
service-system
:
build
:
context
:
./roncoo-education-service/roncoo-education-service-system
...
...
@@ -29,7 +29,7 @@ services:
networks
:
-
education
ports
:
-
"
8184:8184
"
-
"
7710:7710
"
service-user
:
build
:
context
:
./roncoo-education-service/roncoo-education-service-user
...
...
@@ -44,7 +44,7 @@ services:
networks
:
-
education
ports
:
-
"
8186:8186
"
-
"
7720:7720
"
service-course
:
build
:
context
:
./roncoo-education-service/roncoo-education-service-course
...
...
@@ -59,7 +59,7 @@ services:
networks
:
-
education
ports
:
-
"
8188:8188
"
-
"
7730:7730
"
networks
:
education
:
driver
:
host
roncoo-education-gateway/src/main/java/com/roncoo/education/gateway/IndexController.java
浏览文件 @
b925d344
...
...
@@ -13,7 +13,7 @@ public class IndexController {
@GetMapping
(
"/"
)
public
Mono
<
String
>
index
()
{
String
html
=
"<center>Gateway Run Success</center><br/>"
;
html
=
html
+
"<center>网关地址:http://localhost:
818
0</center>"
;
html
=
html
+
"<center>网关地址:http://localhost:
770
0</center>"
;
return
Mono
.
just
(
html
);
}
}
roncoo-education-gateway/src/main/resources/bootstrap.properties
浏览文件 @
b925d344
...
...
@@ -3,7 +3,7 @@ spring.application.name=gateway
# profile
spring.profiles.active
=
dev
# server
server.port
=
818
0
server.port
=
770
0
# nacos
spring.cloud.nacos.username
=
nacos
spring.cloud.nacos.password
=
nacos
...
...
roncoo-education-service/roncoo-education-service-course/src/main/resources/bootstrap.properties
浏览文件 @
b925d344
...
...
@@ -5,7 +5,7 @@ spring.main.allow-bean-definition-overriding=true
# profile
spring.profiles.active
=
dev
# server
server.port
=
8188
server.port
=
7730
# nacos
spring.cloud.nacos.username
=
nacos
spring.cloud.nacos.password
=
nacos
...
...
roncoo-education-service/roncoo-education-service-system/src/main/resources/bootstrap.properties
浏览文件 @
b925d344
...
...
@@ -5,7 +5,7 @@ spring.main.allow-bean-definition-overriding=true
# profile
spring.profiles.active
=
dev
# server
server.port
=
8184
server.port
=
7710
# nacos
spring.cloud.nacos.username
=
nacos
spring.cloud.nacos.password
=
nacos
...
...
roncoo-education-service/roncoo-education-service-user/src/main/resources/bootstrap.properties
浏览文件 @
b925d344
...
...
@@ -5,7 +5,7 @@ spring.main.allow-bean-definition-overriding=true
# profile
spring.profiles.active
=
dev
# server
server.port
=
8186
server.port
=
7720
# nacos
spring.cloud.nacos.username
=
nacos
spring.cloud.nacos.password
=
nacos
...
...
roncoo-job/distribution/conf/application.properties
浏览文件 @
b925d344
### web
server.port
=
8
181
server.port
=
8
080
server.servlet.context-path
=
/job
### xxl-job, datasource
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/
education
_job?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&autoReconnect=true&useSSL=true
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/
os
_job?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&autoReconnect=true&useSSL=true
spring.datasource.username
=
root
spring.datasource.password
=
root
spring.datasource.password
=
123456
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
### datasource-pool
...
...
roncoo-job/src/main/resources/application.properties
浏览文件 @
b925d344
### web
server.port
=
8
181
server.port
=
8
080
server.servlet.context-path
=
/job
### actuator
...
...
@@ -23,9 +23,9 @@ mybatis.mapper-locations=classpath:/mybatis-mapper/*Mapper.xml
#mybatis.type-aliases-package=com.xxl.job.admin.core.model
### xxl-job, datasource
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/
education
_job?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&autoReconnect=true&useSSL=true
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/
os
_job?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8&autoReconnect=true&useSSL=true
spring.datasource.username
=
root
spring.datasource.password
=
root
spring.datasource.password
=
123456
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
### datasource-pool
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录