Commit 8a162df5 authored by chonghaohao's avatar chonghaohao

fix

parent f743913e
...@@ -12,7 +12,7 @@ services: ...@@ -12,7 +12,7 @@ services:
--collation-server=utf8mb4_general_ci --collation-server=utf8mb4_general_ci
--lower-case-table-names=1 # 设置表名大小写不敏感 --lower-case-table-names=1 # 设置表名大小写不敏感
# docker的重启策略:在容器退出时总是重启容器,但是不考虑在Docker守护进程启动时就已经停止了的容器 # docker的重启策略:在容器退出时总是重启容器,但是不考虑在Docker守护进程启动时就已经停止了的容器
restart: unless-stopped restart: always
environment: environment:
MYSQL_ROOT_PASSWORD: huansi@V3 # root用户的密码 MYSQL_ROOT_PASSWORD: huansi@V3 # root用户的密码
MYSQL_USER: huansi # 创建新用户 MYSQL_USER: huansi # 创建新用户
......
...@@ -6,7 +6,7 @@ services: ...@@ -6,7 +6,7 @@ services:
ports: ports:
- "8099:8080" - "8099:8080"
environment: environment:
- PARAMS="--spring.datasource.url=jdbc:mysql://10.10.39.251: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://10.10.39.251: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
......
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