提交 b925d344 编写于 作者: F fengyw

feat: 修改默认端口,方便记忆

上级 fa95fc4b
#### 端口设置
| service | port |
|----------------------------------|------|
| roncoo-education-gateway | 8180 |
| roncoo-education-system | 8184 |
| roncoo-education-user | 8186 |
| roncoo-education-course | 8188 |
| roncoo-education-gateway | 7700 |
| roncoo-education-system | 7710 |
| roncoo-education-user | 7720 |
| roncoo-education-course | 7730 |
-------------------------------------------------------
#### 如何进行docker部署
......
......@@ -14,7 +14,7 @@ services:
networks:
- education
ports:
- "8180:8180"
- "7700:7700"
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
......@@ -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:8180</center>";
html = html + "<center>网关地址:http://localhost:7700</center>";
return Mono.just(html);
}
}
......@@ -3,7 +3,7 @@ spring.application.name=gateway
# profile
spring.profiles.active=dev
# server
server.port=8180
server.port=7700
# nacos
spring.cloud.nacos.username=nacos
spring.cloud.nacos.password=nacos
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
### web
server.port=8181
server.port=8080
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
......
### web
server.port=8181
server.port=8080
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.
先完成此消息的编辑!
想要评论请 注册