Commit 9e2f1766 authored by 吴文龙's avatar 吴文龙

fix

parent 26337c38
...@@ -6,7 +6,7 @@ services: ...@@ -6,7 +6,7 @@ services:
ports: ports:
- "8099:8080" - "8099:8080"
environment: environment:
PARAMS: "--spring.datasource.url=jdbc:mysql://mysql:3306/iot_job?Unicode=true&characterEncoding=UTF-8&useSSL=false --spring.datasource.username=root --spring.datasource.password=huansi@V3" PARAMS: "--spring.datasource.url=jdbc:192.168.4.18://mysql:3306/iot_job?Unicode=true&characterEncoding=UTF-8&useSSL=false --spring.datasource.username=root --spring.datasource.password=huansi@V3"
iot-dbapi: iot-dbapi:
image: registry.cn-hangzhou.aliyuncs.com/hsyl_iot/db-api:v3 image: registry.cn-hangzhou.aliyuncs.com/hsyl_iot/db-api:v3
...@@ -15,7 +15,7 @@ services: ...@@ -15,7 +15,7 @@ services:
- "8523:8523" - "8523:8523"
- "8525:8525" - "8525:8525"
environment: environment:
- DB_URL=jdbc:mysql://mysql:3306/iot_dbapi?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8 - DB_URL=jdbc:mysql://192.168.4.18:3306/iot_dbapi?useSSL=false&characterEncoding=UTF-8&serverTimezone=GMT%2B8
- DB_USERNAME=root - DB_USERNAME=root
- DB_PASSWORD=huansi@V3 - DB_PASSWORD=huansi@V3
- DB_DRIVER=com.mysql.cj.jdbc.Driver - DB_DRIVER=com.mysql.cj.jdbc.Driver
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment