Commit 73b90bac authored by 吴文龙's avatar 吴文龙

youhua

parent 60830ba3
...@@ -23,6 +23,7 @@ services: ...@@ -23,6 +23,7 @@ services:
- ./mysql/data:/var/lib/mysql - ./mysql/data:/var/lib/mysql
- ./mysql/conf:/etc/mysql/conf.d - ./mysql/conf:/etc/mysql/conf.d
- ./mysql/logs:/logs - ./mysql/logs:/logs
iot-job: iot-job:
image: registry.cn-hangzhou.aliyuncs.com/hsyl_iot/xxl-job:v3 image: registry.cn-hangzhou.aliyuncs.com/hsyl_iot/xxl-job:v3
restart: always restart: always
...@@ -30,7 +31,9 @@ services: ...@@ -30,7 +31,9 @@ services:
- "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:mysql://mysql:3306/iot_job?Unicode=true&characterEncoding=UTF-8&useSSL=false --spring.datasource.username=root --spring.datasource.password=huansi@V3"
depends_on:
- mysql
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
ports: ports:
...@@ -43,6 +46,8 @@ services: ...@@ -43,6 +46,8 @@ services:
- DB_PASSWORD=huansi@V3 - DB_PASSWORD=huansi@V3
- DB_DRIVER=com.mysql.cj.jdbc.Driver - DB_DRIVER=com.mysql.cj.jdbc.Driver
restart: always restart: always
depends_on:
- mysql
iot-interface: iot-interface:
image: registry.cn-hangzhou.aliyuncs.com/hsyl_iot/interface-service:v3 image: registry.cn-hangzhou.aliyuncs.com/hsyl_iot/interface-service:v3
......
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