new
This commit is contained in:
@@ -7,7 +7,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: ${NACOS_HOST}:${NACOS_PORT:8848}
|
server-addr: nacos:8848
|
||||||
gateway:
|
gateway:
|
||||||
routes:
|
routes:
|
||||||
- id: demo-one
|
- id: demo-one
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ server:
|
|||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://${MYSQL_HOST}:3306/springboot-vue?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
|
url: jdbc:mysql://mysql:3306/springboot-vue?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: 123456
|
||||||
|
|
||||||
@@ -15,5 +15,5 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: ${NACOS_HOST}:${NACOS_PORT:8848}
|
server-addr: nacos:8848
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user